Hi Cole,

On 17/09/11 06:03, Cole Hudson wrote:
> Per the install instructions and performance tuning tips found here
> <https://wiki.duraspace.org/display/DSPACE/HowToPerformanceTuneForDspace#HowToPerformanceTuneForDspace-GiveTomcatMoreJavaPermGenMemory>,
> we’ve set JAVA_OPTS for -Xmx512m -Xms512m -XX:MaxPermSize=128m, but this
> has not had an effect.

Tomcat on Ubuntu seems to have a nasty habit of ignoring configuration
settings unless you put them into exactly the right spot. Maybe you're
running into the same problem. Assuming you're using the tomcat6 package
(not tomcat6-user), try setting JAVA_OPTS in /etc/default/tomcat6. At
the same time you may also want to double-check that your choice of JDK
isn't being overridden in this file (it is set to openjdk by default --
https://wiki.duraspace.org/display/DSPACE/Installing+DSpace+1.7+on+Ubuntu#InstallingDSpace1.7onUbuntu-ChangetheinuseJavatoSunJava%2CasopposedtoOpenJDK).

If you're using tomcat6-user: It looks like the tomcat startup script
generated by the tomcat6-user package actually uses the JAVA_OPTS env
variable if it exists. Otherwise, have a look at the setenv.sh script in
the bin subdirectory of your tomcat instance.

cheers,
Andrea

-- 
Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to