2 Replies Last post: Apr 21, 2008 6:00 PM by ccallan  
Click to view ccallan's profile   52 posts since
Oct 16, 2007

Apr 5, 2008 12:20 AM

suspected memory leak

I installed a paralell instance of Contour on a pre-prod/test server, so there's one Contour 2.1 and one Contour 2.2.3 instance running on a Tomcat 6 server. I hadn't had any issues with the single 2.1 instance running, but ever since installing the 2.2.3 instance, I now get OutOfMemory exceptions several times a day. The server is a Win2k3 Server, running Tomcat 6, Java 6_03, in a VmWare system (same as production, which is Contour 2.1) running on a 2.0 Ghz processor with 1 GB of RAM available. I don't see that I have anything massively mis-configured, it's the default installation. I've kept an eye on the tomcat6.exe process in TaskManager but haven't seen anything out of the ordinary for memory usage. Do you have any ideas on the performance counters I could monitor to prove out that it is/isn't a memory leak?
Click to view Eric's profile   82 posts since
Jun 11, 2007
1. Apr 6, 2008 7:07 AM in response to: ccallan
Re: suspected memory leak
Chris - just wanted to confirm you set the memory configuration for Tomcat per the setup instructions - see below.

Also, I think you'll need about 1GB per Contour instance, 2GB is recommended. If I understand correctly, both Contour instances are running on the same tomcat, same server. We have a number of servers that run two instances of Contour - though they are a minimum of 2GB machines I believe

3.2.1.1 CONFIGURE TOMCAT
Configure Tomcat Memory Settings
Windows Environments
If running Tomcat as a service, Open up the Tomcat Monitor (TOMCAT_HOME/bin/tomcat5w.exe)
Navigate to Configure ? Java ? Java Options and append:
-Xmx1024M
-XX:MaxPermSize=128M

Note: Make sure there are no spaces after each line, otherwise Tomcat will not start.