Hi...
As is always the case...after I sent out an email in final desperation, I find 
the solution!.  I had left out some of my JAVA_OPTS parameters to handle the 
java OutofMemory problem.  Sorry to bother everyone.

Here is what fixed things:
JAVA_OPTS="-server -Xms1024m -Xmx2048m -Xmn64m -Dfile.encoding=UTF-8 
-XX:+UseParallelGC -verbose:gc -Xloggc:/dspace/dspace/log/gc.log 
-XX:+HeapDumpOnOutOfMemoryError -XX:PermSize=1024m -XX:MaxPermSize=1024m 
-XX:-UseGCOverheadLimit"
George Kozak
Digital Library Specialist
Cornell University Library Information Technologies (CULIT)
501 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924

________________________________
From: George S Kozak [g...@cornell.edu]
Sent: Thursday, May 26, 2011 1:20 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Question about tomcat 6 or 7

Hi...

I am running DSpace 1.7.1 with apache-tomcat-5.5.26 and jdk1.6.0_07.  
Everything works fine except to the Solr Stats.   If I do a 
http://localhost:8080/solr/statistics/admin, I get an error display and 
clicking on the View Statistics button results in an error like
Error using query type: 3 AND  id:431

So, I tried switching to apache-tomcat-6.0.32.  I was able now to execute the 
http://localhost:8080/solr/statistics/admin, but if I try to view a Collection 
or an Item, I get a
java.lang.OutOfMemoryError: PermGen space Error

I tried apache-tomcat-7.0.14, and I got the same error.

I was using JAVA_OPTS="-server -Xms1024m -Xmx2048m -Xmn64m 
-Dfile.encoding=UTF-8 -XX:+UseParallelGC -verbose:gc 
-Xloggc:/dspace/dspace/log/gc.log"
I also tried CATALINA_OPTS="-Xms256m -Xmx1028m -XX:MaxPermSize=256m"
But neither of those helped.  I know a lot has been written about memory leaks 
and what can be done, but I think I'm doing teh right stuff, but nothhing seems 
to be working.
ANy idea would be appreciated.

George Kozak
Digital Library Specialist
Cornell University Library Information Technologies (CULIT)
501 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to