I had a discussion with a developer here and he had me change the startup script to:
CATALINA_OPTS="-Djava.library.path=/home/jfclere/jakarta-tomcat-connectors/jni/native/.libs -Xmx4096M -Xms2048M -Dfile.encoding=UTF-8 -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=512M" It seems fine but off course I have to keep monitoring! I will appreciate if the list could have a discussion around the optimum memory allocations for this as well as the Postgresql. My situation is: 24 Gb on board. As you can see -Xmx4096M -Xms2048M for the startup as well as MaxPermSize=512M for Perm size. Also my postgresql.conf is shared_buffers=1024Mb I see it mentioned that one can take half of onboard mem for the Catalina? Any thoughts? Will it have any advantages or even disadvantages? (Don’t want to waste memory!) Thanks Barrie Swanepoel Systems Administrator University of Johannesburg Library and Information Centre PO Box 524 Auckland Park Johannesburg Republic of South Africa Tel: +27 11 559 2347 Cell: 082 565 7743 -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of helix84 Sent: 08 November 2011 10:57 AM To: Swanepoel, Barrie Cc: dspace-tech Subject: Re: [Dspace-tech] 1.7.2 memory errors I'm not familiar with the jsvc setup you're using, so I'm not sure which one of those java/jsvc processes _actually_ runs dspace. Just to make sure, if you already didn't do it, restart the whole server to get rid of any processes from your previous configuration. Then you should be fine. You probably know that now the correct way for you to start/stop/restart dspace is to use "service dspace start", "service dspace start", "service dspace start" respectively. Regards, ~~helix84 ________________________________ This email and all contents are subject to the following disclaimer: http://disclaimer.uj.ac.za ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

