lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Hubacher (JIRA) <j...@apache.org>
Subject [jira] [Commented] (LUCENENET-537) Memory leak while indexing more than 500.000 documents.
Date Mon, 24 Feb 2014 15:41:19 GMT

    [ https://issues.apache.org/jira/browse/LUCENENET-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13910409#comment-13910409
] 

Jörg Hubacher commented on LUCENENET-537:
-----------------------------------------

Hi Simon,

our client is using a 64 bit machine with 8 GB memory. I can send you some memory dumps. And
there is not much memory left when it occurs.

Can I send you the dumps by mail?

Jörg

> Memory leak while indexing more than 500.000 documents.
> -------------------------------------------------------
>
>                 Key: LUCENENET-537
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-537
>             Project: Lucene.Net
>          Issue Type: Bug
>          Components: Lucene.Net Core
>    Affects Versions: Lucene.Net 3.0.3
>         Environment: IIS
>            Reporter: Jörg Hubacher
>            Priority: Blocker
>
> When I'm reindexing a hudge number of documents I've getting an out of memory exception
after some hours.
>                 using (IndexWriter writer = this.CreateIndexWriter(_directory))
>                 {
>                     writer.DeleteAll();
>                     foreach (Product product in _service.GetAllProducts())
>                     {
>                         Document doc = CreateDocument(product);
>                         writer.AddDocument(doc);
>                     }
>                     writer.Commit();
>                     writer.Optimize();
>                 }
> This came up with version 3.0.3. Before it was ok.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message