Re: Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

2007-01-26 Thread Pustovalov Mike
in my applications JVM throws [java.lang.OutOfMemoryError: Java heap space] when too many java classes has been loaded and/or when i use some byte code manipulation libraries ... (hibernate, asm, cglib for example) - JVM has no more memory for compile bytecode. On Fri, 26 Jan 2007 19:46:06

Re: Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

2007-01-26 Thread maureen tanuwidjaja
oh thanks then:) Пустовалов Михаил <[EMAIL PROTECTED]> wrote: 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 wrote: >

Re: Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

2007-01-26 Thread Пустовалов Михаил
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: E...where shall I put that" -XX:MaxPermSize=128m"? Th

Re: Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

2007-01-26 Thread maureen tanuwidjaja
E...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 Eric

Re: Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

2007-01-26 Thread Пустовалов Михаил
try this : -XX:MaxPermSize=128m On Fri, 26 Jan 2007 19:32:45 +0300, maureen tanuwidjaja <[EMAIL PROTECTED]> 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 th