The -Xmx1500m option specifies the maximum size that the Java heap is permitted to grow to. It only actually grows this big if it must, and the Java heap should not get anywhere near that big when fetching with 180 threads. So, no you do not need 1.5GB.
The -Xms is used to set the initial size of the heap and is not required.
Doug
Matthias Jaekle wrote:
Hi,
we are starting Java with the option -Xmx1500m. Does this mean we have to have 1.5 GB Ram?
There is an other option we do not have set: -Xms
Might it be a solution to change one of this values to run more then 180 fetchers?
Thanks for your help
Matthias
Matthias Jaekle schrieb:
Hi,
I can only run 180 fetchers on a 512 MB RAM system. With earlier version I was able to run much more fetchers. The system don't use all the memory I have.
I get a java.lang.OurOfMemeoryError: unable to create new native thread at java.lang.Thread.start(Native Method) at net.nutch.fetcher.Fetcher.run(Fetcher.java:233) at net.nutch.fetcher.Fetcher.main(Fetcher.java:327)
What can I do?
Thanks
Matthias
------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Nutch-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nutch-developers
