Re: [CLucene-dev] RAM usage while indexing

2011-01-05 Thread Ben van Klinken
sounds pretty high. how big are the files? could you be leaking memory in the 'fileDocument' function? as a test, try not actually adding the document ben On Thu, Jan 6, 2011 at 7:43 AM, muhammad ismael wrote: > Hello, > I am trying to index large files as follows > > for(int j = 0; (j < pagesI

[CLucene-dev] RAM usage while indexing

2011-01-05 Thread muhammad ismael
Hello, I am trying to index large files as follows for(int j = 0; (j < pagesIds.count())&& !m_stop ; j++) { pagesText = m_DbManager->getBookPage(m_booksIds.at(i), pagesIds.at(j)).toUtf8(); if(!pagesText.isEmpty()) {