lucenenet-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank Yu" <>
Subject RE: out of memory problems.... ?
Date Thu, 29 Nov 2012 16:06:29 GMT
If the machine is 64-bit, try to build the application in 64-bit.


Frank Yu

-----Original Message-----
From: Simon Svensson [] 
Sent: Thursday, November 29, 2012 7:30 AM
Cc: raanan vissman
Subject: Re: out of memory problems.... ?


It sounds like you're running .NET 4.0 and experiencing a known memory leak
<>. However, you state that "not
related to the Systems RAM Memory", which makes me wonder, how do you know
that? Does your application rise in cpu- and memory usage? This could be due
to the leak allocating a lot of memory, and the garbage collection
continuously trying to free it.

I believe that Lucene.Net 2.9.2 has a workaround for this. Are you able to

// Simon

On 2012-11-28 23:10, raanan vissman wrote:

> I have been working with Lucene .Net interface. However, lately, I 
> have been experimenting some out of memory problems which are not 
> related to the Systems RAM Memory (8 GB).
> I got this exception:
>   at System.LocalDataStoreMgr.AllocateDataSlot()
>     at System.Threading.Thread.AllocateDataSlot()
>     at Lucene.Net.Util.CloseableThreadLocal..ctor() in 
> D:\1Temp\Lucene.Net_2_9_1\src\Lucene.Net\Util\CloseableThreadLocal.cs:
> line
> 47
>     at Lucene.Net.Index.SegmentReader..ctor() in 
> D:\1Temp\Lucene.Net_2_9_1\src\Lucene.Net\Index\SegmentReader.cs:line 54
>     at Lucene.Net.Index.ReadOnlySegmentReader..ctor()
>     at System.RuntimeType.CreateInstanceDefaultCtor(Boolean 
> publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, 
> Boolean fillCache)
> Plz advise,
> Many 10x

View raw message