Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
My dear old friend: The OutOfMemoryException
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  13 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tobi  
View profile  
 More options Apr 10 2012, 2:32 pm
From: Tobi <listacco...@e-tobi.net>
Date: Tue, 10 Apr 2012 20:32:49 +0200
Local: Tues, Apr 10 2012 2:32 pm
Subject: My dear old friend: The OutOfMemoryException
I was going to update a customer system with build-888 today, but got a
serious indexing issue. I've rebuilt all indexes, but there were still
documents missing in the indexes.

In the log I see an OOME:

2012-04-10 18:46:33.1658|  5|WARN
|Raven.Database.Indexing.AbstractIndexingExecuter  |Failed to index
documents for index: Product/Number|"System.OutOfMemoryException

The largest batch size I saw was 16.384 and I' missing about 14.000
docs from the index.

It looks like as if this OOME happens, it looses all the remaining
documents from the current batch, which is a really bad thing.

(This happened with a 32bit application and plenty of RAM)

I tried with a 64bit RavenDB.Server.exe which indexed all documents but
still uses all my physical memory until swapping kicks in and makes the
system nearly unusable.

After setting a limit of MaxNumberOfItemsToIndexInSingleBatch = 128
everything works fine.

So I see two problems:

1. It is troubling that the OOME during the index process causes lots
    of docs to be missing from the index, with no way to recover and
    the only indication that something went wrong being a log entry.
2. The Auto-Batch-Size-Tuning still isn't safe by default

Tobias


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Justin A  
View profile  
 More options Apr 10 2012, 8:00 pm
From: Justin A <jus...@adler.com.au>
Date: Tue, 10 Apr 2012 17:00:22 -0700 (PDT)
Local: Tues, Apr 10 2012 8:00 pm
Subject: Re: My dear old friend: The OutOfMemoryException

I don't think I can help you Tobi .. but just to clarify what you're saying
..

*>>The largest batch size I saw was 16.384 and I' missing about 14.000

>>docs from the index. *

Is that 16 *thousand *and 384 ...  and your missing around 14 *thousand *
docs?

Just making sure I'm getting the Culture right, on your statement. 16K vs
16 is a big difference :)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Itamar Syn-Hershko  
View profile  
 More options Apr 10 2012, 8:06 pm
From: Itamar Syn-Hershko <ita...@hibernatingrhinos.com>
Date: Wed, 11 Apr 2012 03:06:01 +0300
Local: Tues, Apr 10 2012 8:06 pm
Subject: Re: [RavenDB] Re: My dear old friend: The OutOfMemoryException

Yes, the groups is easier for us to follow

We try to track SO as well, but emails just pop on our desktop when we work
hence the first-class support :)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Itamar Syn-Hershko  
View profile  
 More options Apr 10 2012, 8:08 pm
From: Itamar Syn-Hershko <ita...@hibernatingrhinos.com>
Date: Wed, 11 Apr 2012 03:08:17 +0300
Local: Tues, Apr 10 2012 8:08 pm
Subject: Re: [RavenDB] Re: My dear old friend: The OutOfMemoryException

Wrong thread. Speaking of great support :)

Tobi, we will look at that tomorrow or after the holiday. I think it'll be
best if we'll try to repro and go from there.

On Wed, Apr 11, 2012 at 3:06 AM, Itamar Syn-Hershko <


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tobi  
View profile  
 More options Apr 10 2012, 9:09 pm
From: Tobi <listacco...@e-tobi.net>
Date: Wed, 11 Apr 2012 03:09:31 +0200
Local: Tues, Apr 10 2012 9:09 pm
Subject: Re: [RavenDB] Re: My dear old friend: The OutOfMemoryException
On 11.04.2012 02:00, Justin A wrote:

> Is that 16 /thousand /and 384 ...  and your missing around 14 /thousand /docs?

> Just making sure I'm getting the Culture right, on your statement. 16K vs
> 16 is a big difference :)

Yes, 16K batch size and around 14k docs missing from the index.

Tobias


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oren Eini (Ayende Rahien)  
View profile  
 More options Apr 11 2012, 2:12 am
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Wed, 11 Apr 2012 09:12:40 +0300
Local: Wed, Apr 11 2012 2:12 am
Subject: Re: [RavenDB] My dear old friend: The OutOfMemoryException

Tobi,
A few interesting things.
* Any exception during the indexing process should force a re-index, so I
don't know why it didn't.
* I can't think of any reason why in 64 bits, it would force paging. We are
actively checking to make sure that this won't happen.

Is there any way you can reproduce this? Note that I am pretty sure that
paging on 64 bits is another manifestation of the same problem.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tobi  
View profile  
 More options Apr 11 2012, 3:16 am
From: Tobi <listacco...@e-tobi.net>
Date: Wed, 11 Apr 2012 09:16:51 +0200
Local: Wed, Apr 11 2012 3:16 am
Subject: Re: [RavenDB] My dear old friend: The OutOfMemoryException
On 11.04.2012 08:12, Oren Eini (Ayende Rahien) wrote:

> * I can't think of any reason why in 64 bits, it would force paging. We
> are actively checking to make sure that this won't happen.

I have only 8GB RAM installed, which isn't that much, but it still should
be enough. The data might contain some large docs, but I haven't figured
out yet how larger they are. How do you measure the document size?

> Is there any way you can reproduce this?

Yes, I can. I'll prepare some sample data today and e-mail you a download
link.

Tobias


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tobi  
View profile  
 More options Apr 11 2012, 3:21 am
From: Tobi <listacco...@e-tobi.net>
Date: Wed, 11 Apr 2012 09:21:54 +0200
Local: Wed, Apr 11 2012 3:21 am
Subject: Re: [RavenDB] Re: My dear old friend: The OutOfMemoryException
On 11.04.2012 02:08, Itamar Syn-Hershko wrote:

> Tobi, we will look at that tomorrow or after the holiday.
> I think it'll be best if we'll try to repro and go from there.

I'll prepare some sample data today.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oren Eini (Ayende Rahien)  
View profile  
 More options Apr 11 2012, 3:28 am
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Wed, 11 Apr 2012 10:28:28 +0300
Local: Wed, Apr 11 2012 3:28 am
Subject: Re: [RavenDB] My dear old friend: The OutOfMemoryException

Document size is a bit hard to calculate, but you can go to the studio, and
click on edit document, and it will tell you how big a doc is.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tobi  
View profile  
 More options Apr 12 2012, 10:58 am
From: Tobi <listacco...@e-tobi.net>
Date: Thu, 12 Apr 2012 16:58:26 +0200
Local: Thurs, Apr 12 2012 10:58 am
Subject: Re: [RavenDB] Re: My dear old friend: The OutOfMemoryException
On 11.04.2012 09:21, Tobi wrote:

>> Tobi, we will look at that tomorrow or after the holiday.
>> I think it'll be best if we'll try to repro and go from there.

> I'll prepare some sample data today.

Did you had a chance to reproduce this with the samples I sent you?

Tobias


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Itamar Syn-Hershko  
View profile  
 More options Apr 12 2012, 10:59 am
From: Itamar Syn-Hershko <ita...@hibernatingrhinos.com>
Date: Thu, 12 Apr 2012 17:59:24 +0300
Local: Thurs, Apr 12 2012 10:59 am
Subject: Re: [RavenDB] Re: My dear old friend: The OutOfMemoryException

Sorry, not yet. Holiday here so things are moving slower than usual. Next
week probably.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tobi  
View profile  
 More options Apr 12 2012, 11:09 am
From: Tobi <listacco...@e-tobi.net>
Date: Thu, 12 Apr 2012 17:09:50 +0200
Local: Thurs, Apr 12 2012 11:09 am
Subject: Re: [RavenDB] Re: My dear old friend: The OutOfMemoryException
On 12.04.2012 16:59, Itamar Syn-Hershko wrote:

> Sorry, not yet. Holiday here so things are moving slower than usual. Next
> week probably.

Ok, then: Happy Passover!

Tobias


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Itamar Syn-Hershko  
View profile  
 More options Apr 12 2012, 11:13 am
From: Itamar Syn-Hershko <ita...@hibernatingrhinos.com>
Date: Thu, 12 Apr 2012 18:13:51 +0300
Local: Thurs, Apr 12 2012 11:13 am
Subject: Re: [RavenDB] Re: My dear old friend: The OutOfMemoryException

Thanks :)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »