lucenenet-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Svensson <si...@devhost.se>
Subject Re: out of memory problems.... ?
Date Thu, 29 Nov 2012 15:30:19 GMT
Hi,

It sounds like you're running .NET 4.0 and experiencing a known memory 
leak <http://support.microsoft.com/kb/2540745>. 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 upgrade?

// 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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message