java.lang.OutOfMemoryError - is that you need to increase the JVM maximum heap size, for TOMCAT.
A fix, depending upon the version of JDK your running, in my case running Linux, JDK 1.5.0_07 If you have a look in your apache-tomcat-5..5.17/bin directory there will be a 'startup.sh' that refers to the 'catalina.sh'. Have a look in there and there will be an environment variable called JAVA_OPTS. That's the variable where you can set the heap size when TOMCAT is started up, minimum and maximum values. So to test it out, stop TOMCAT( shutdown.sh), set the JAVA_OPTS, like this Export JAVA_OPTS='-Xms256m -Xmx512m' And restart TOMCAT (startup.sh) In this case, min heap size 256m and max 512k. The default sizes are apparently quite small. If it works, fine, if it doesn't, like the DSpace menu won't display, shutdown TOMCAT, reset the JAVA_OPTS ( I just logoff and logon ) and restart TOMCAT and try something else. There are some interesting explanations if you google this. Graeme Fox Information Technology Services Massey University Private Bag 11222 Email: [EMAIL PROTECTED] Palmerston North Phone: +64 6 350-5799 ext 2109 New Zealand Mobile: 027 3584848 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, 17 May 2007 7:14 a.m. To: [email protected] Subject: DSpace-tech Digest, Vol 13, Issue 31 Send DSpace-tech mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/dspace-tech or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than "Re: Contents of DSpace-tech digest..." Today's Topics: 1. Out of Memory error (Jeffrey Trimble) ---------------------------------------------------------------------- Message: 1 Date: Wed, 16 May 2007 14:56:49 -0400 From: Jeffrey Trimble <[EMAIL PROTECTED]> Subject: [Dspace-tech] Out of Memory error To: [email protected] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii"; format=flowed I've got this error all of a sudden: java.lang.OutOfMemoryError What caused this? Jeffrey A. Trimble Systems Librarian Youngstown State University Youngstown, OH [EMAIL PROTECTED] (330) 941-2483 http://digital.maag.ysu.edu http://www.maag.ysu.edu http://jupiter.ysu.edu ------------------------------ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ------------------------------ _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech End of DSpace-tech Digest, Vol 13, Issue 31 ******************************************* ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

