Hi Andrea,

Thanks for the suggestion and info.  Luckily, I believe I discovered the
root of my issue this morning.  I had a configuration issue on my
virtual machine in my test bed (I had erroneously placed low caps on my
processor and memory allocations to my VM).  Now that I've resolved
that, it seems to be running fine so far, so we'll see if my luck holds.
Regardless, per your suggestion, I'll double-check my config settings
for Tomcat and Java and make sure those are set correctly.

Thanks again.

Cole
-----Original Message-----
From: Andrea Schweer [mailto:[email protected]] 
Sent: Sunday, September 18, 2011 5:07 PM
To: [email protected]
Subject: Re: [Dspace-tech] out of memory issue

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+Ubunt
u#InstallingDSpace1.7onUbuntu-ChangetheinuseJavatoSunJava%2CasopposedtoO
penJDK).

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

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry&reg; mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry&reg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to