From: Osullivan L. <L.O...@sw...> - 2014-04-01 22:14:14
|
Hi Folks, It's also worth making sure that your system has enough memory to run. In the past, I allocated so much memory to Solr that the system got neglected. In trying to cope, it shut down Java. In my case, actually reducing the amount of memory allocated to Solr helped. Cheers, Luke Sent from my HTC ----- Reply message ----- From: "Nathan Tallman" <nta...@gm...> To: "Thomas Misilo" <mi...@fi...> Cc: "vuf...@li..." <vuf...@li...> Subject: [VuFind-Tech] Any ideas of what might be causing java to run out of memory? Date: Tue, Apr 1, 2014 22:43 You might try restarting at more frequent intervals. When I was experiencing memory issues on an older server, I had to restart every couple of hours or it'd blow up. Moving to a new, more powerful, server allowed me to cut it back to once a day. Nathan On Tue, Apr 1, 2014 at 5:11 PM, Thomas Misilo <mi...@fi...<mailto:mi...@fi...>> wrote: We are restarting every night and this is what our JAVA_OPTIONS flag is: JAVA_OPTIONS="-server -Xmx3800m -Xms3800m -XX:+UseParallelGC -XX:+AggressiveOpts -XX:NewRatio=5 " Approximately 460000 items, 8GB of memory, 4 cores (VM) I can provide the GC logs if that helps, but I am not sure what I would be looking for in them to determine settings, etc. Thanks, Tom From: Demian Katz [mailto:dem...@vi...<mailto:dem...@vi...>] Sent: Friday, March 28, 2014 9:05 AM To: Thomas Misilo; vuf...@li...<mailto:vuf...@li...> Subject: RE: [VuFind-Tech] Any ideas of what might be causing java to run out of memory? The short answer is that this is an out of memory error, so throwing more memory at the JVM might help. It's also possible that trying a different garbage collection strategy might help. My blog post from a while back has some information on this: http://blog.library.villanova.edu/libtech/2011/03/31/java-tuning-made-easier/ A little research suggests that in some cases, changing your Solr cache settings may help. Perhaps the ongoing performance testing work going on at Keystone Library Network will shed some light on best practices; you might want to join the developer's call next Tuesday morning if your schedule allows to hear the latest update on that. - Demian ________________________________ From: Thomas Misilo [mi...@fi...<mailto:mi...@fi...>] Sent: Thursday, March 27, 2014 1:56 PM To: vuf...@li...<mailto:vuf...@li...> Subject: [VuFind-Tech] Any ideas of what might be causing java to run out of memory? Here is the error, message we are getting. We are still on VuFind 1.3. Unable to process query Solr Returned: GC overhead limit exceeded java.lang.OutOfMemoryError: GC overhead limit exceeded RequestURI=/solr/biblio/select/ Powered by Jetty:// And I believe this eventually brings down the catalog, and forces a connection refused message. Thanks! Tom ------------------------------------------------------------------------------ _______________________________________________ Vufind-tech mailing list Vuf...@li...<mailto:Vuf...@li...> https://lists.sourceforge.net/lists/listinfo/vufind-tech |