You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Doron Cohen (JIRA)" <ji...@apache.org> on 2007/12/18 16:30:43 UTC
[jira] Reopened: (LUCENE-1091) Big IndexWriter memory leak: when
Field.Index.TOKENIZED
[ https://issues.apache.org/jira/browse/LUCENE-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doron Cohen reopened LUCENE-1091:
---------------------------------
Reopening just to close with "Invalid" - "Won't fix" suggests a known issue that we are not going to fix, I think that "Invalid" is more adequate here.
> Big IndexWriter memory leak: when Field.Index.TOKENIZED
> -------------------------------------------------------
>
> Key: LUCENE-1091
> URL: https://issues.apache.org/jira/browse/LUCENE-1091
> Project: Lucene - Java
> Issue Type: Bug
> Components: Index
> Affects Versions: 2.2
> Environment: Ubuntu Linux 7.10, 32-bit
> Java 1.6.0 buld 1.6.0_03-b05 (default in Ubuntu 7.10)
> 1GB RAM
> Reporter: Mirza Hadzic
> Attachments: lucene.txt, LuceneOOM.PNG, screenshot-1.jpg, TestOOM.java
>
>
> This little program eats incrementally 2MB of virtual RAM per each 1000 documents indexed, only when Field.Index.TOKENIZED used :
> public Document getDoc() {
> Document document = new Document();
> document.add(new Field("foo", "foo bar", Field.Store.NO, Field.Index.TOKENIZED));
> return document;
> }
> public Document run() {
> IndexWriter writer = new IndexWriter(new File(jIndexFileName), new StandardAnalyzer(), true);
> for (int i = 0; i < 1000000; i++) {
> writer.addDocument(getDoc());
> }
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org