in your java command line,  of course :)

Example : java -Xms128m -Xmx1024m -server -Djava.awt.headless=true -XX:MaxPermSize=128m protei.Starter


On Fri, 26 Jan 2007 19:39:13 +0300, maureen tanuwidjaja <[EMAIL PROTECTED]> wrote:


 Errrr...where shall I put that" -XX:MaxPermSize=128m"?
 Thanks Pustovalov
 Regards,
  Maureen

Пу�товалов Михаил <[EMAIL PROTECTED]> wrote: try this : -XX:MaxPermSize=128m

On Fri, 26 Jan 2007 19:32:45 +0300, maureen tanuwidjaja
 wrote:

Hi Mike and Erick and all,
 I have fixed my code and yes,indexing is much faster than previously
when I do such "hammering" with IndexWriter
 However,I am now encountering the error while indexing
 Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
 This error never happens before..it doesnt even exist when I do such
hammering with the IndexWriter
 Is it because the document I am going to index is too much?coz I am
indexing thousands of XML Documents and total size is about 1Giga...
---------------------------------
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.






--
----====[]====----

Пустовалов Михаил.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to