You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by maureen tanuwidjaja <au...@yahoo.com> on 2007/01/26 17:32:45 UTC
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
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.
Re: Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
Posted by Pustovalov Mike <pu...@protei.ru>.
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 +0300, maureen tanuwidjaja
<au...@yahoo.com> wrote:
> java.lang.OutOfMemoryError: Java heap space
--
----====[]====----
WBR, Pustovalov Mike.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
Posted by maureen tanuwidjaja <au...@yahoo.com>.
oh thanks then:)
ÐÑÑÑовалов ÐиÑ
аил <pu...@protei.ru> 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:
>
> Errrr...where shall I put that" -XX:MaxPermSize=128m"?
> Thanks Pustovalov
> Regards,
> Maureen
>
> ÃÅ¸ÃÆÃ�Ãâþòðûþò ÃÅøÃâ¦Ã°Ã¸Ã»
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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
---------------------------------
Finding fabulous fares is fun.
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains.
Re: Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
Posted by Пустовалов Михаил <pu...@protei.ru>.
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
<au...@yahoo.com> wrote:
>
> Errrr...where shall I put that" -XX:MaxPermSize=128m"?
> Thanks Pustovalov
> Regards,
> Maureen
>
> Пу�товалов Михаил <pu...@protei.ru> 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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
Posted by maureen tanuwidjaja <au...@yahoo.com>.
Errrr...where shall I put that" -XX:MaxPermSize=128m"?
Thanks Pustovalov
Regards,
Maureen
ÐÑÑÑовалов ÐиÑ
аил <pu...@protei.ru> 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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
---------------------------------
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.
Re: Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
Posted by Пустовалов Михаил <pu...@protei.ru>.
try this : -XX:MaxPermSize=128m
On Fri, 26 Jan 2007 19:32:45 +0300, maureen tanuwidjaja
<au...@yahoo.com> 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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org