Hi David,

Also see the following "Performance Tuning" page on our wiki for 
suggestions on how to avoid 'PermGen space' errors:

https://wiki.duraspace.org/display/DSPACE/HowToPerformanceTuneForDspace

As of DSpace 1.7.0, we recommend the following minimums for optimal 
DSpace performance:

Java Heap Memory (-Xmx and -Xms) should be set to >=512MB
Java PermGen Memory (-XX:MaxPermSize) should be set to >=128MB

Again, these are the *minimums* we recommend for optimal performance (it 
may be possible to run on less memory, but performance will not be 
optimal).  Also, if your DSpace will be storing lots of items or having 
a lot of simultaneous users, you actually may need to increase these values.

Instructions on how to set those are on the above wiki page.

- Tim

On 1/19/2011 8:20 AM, Mark H. Wood wrote:

>> 19-Jan-2011 12:20:21 org.apache.catalina.connector.CoyoteAdapter service
>> SEVERE: An exception or error occurred in the container during the request
>> processing
>> java.lang.OutOfMemoryError: PermGen space
>
> This is the problem.  The Java Virtual Machine in which Tomcat runs
> doesn't have enough memory set aside for holding class bodies
> (essentially, program code) and the like.  Check the way Tomcat is
> started up, especially the value of the environment variable JAVA_OPTS
> if you have one.  I suspect that -XX:MaxPermSize is set very low.  You
> may have left out a scale factor, such as writing "MaxPermSize=512"
> rather than "MaxPermSize=512M".  (That is:  bytes rather than megabytes.)

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to