Memory Problem...

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2007 11:44 AM
I have installed Alfresco community edition via the war into an existing tomcat installation running Centos 4.4 x86_64 and jrockit_x86_64 (latest build). The server is an HP opteron server with 4 gigs of memory. The jvm is configured with the following: JAVA_OPTS="-Xgc
arallel -XXcompressedRefs -Xms1600m -Xmx1600m".
The good news is that everything worked the first time. The bad news within a couple of hours, the server ran out of memory and started to swap. There is one other application running on top of tomcat that was using less the 800 megs so there should have been enough memory to run both applications. Eventually I could not manually shut down the jvm and had to reboot the server.
Any suggestions would be most welcome,
Best wishes,
Alex Fleming

The good news is that everything worked the first time. The bad news within a couple of hours, the server ran out of memory and started to swap. There is one other application running on top of tomcat that was using less the 800 megs so there should have been enough memory to run both applications. Eventually I could not manually shut down the jvm and had to reboot the server.
Any suggestions would be most welcome,
Best wishes,
Alex Fleming
Labels:
- Labels:
-
Archive
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2007 05:55 AM
Hi,
Tomcat runs in a VM that has a maximum memory limit. The VM should not grow much beyond that. This is a VM-specific issue. You might try another VM just to be sure.
We ran some benchmarks with JRockit and didn't have any issues, so it might be OS or configuration dependent as well.
Regards
Tomcat runs in a VM that has a maximum memory limit. The VM should not grow much beyond that. This is a VM-specific issue. You might try another VM just to be sure.
We ran some benchmarks with JRockit and didn't have any issues, so it might be OS or configuration dependent as well.
Regards

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2007 07:55 AM
Thanks,
I will keep looking for a solution.
regards,
Alex
I will keep looking for a solution.
regards,
Alex

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2007 09:42 AM
Have you tried the standard Sun JDK to ensure that it is not JRockit at fault? This morning I performed a multi-threaded stress test on Alfresco 2.0 HEAD designed to find memory leaks and after 50,000 web-client screens requests no signs of a leak was detected. Note that was TomCat 32bit with SunJDK 1.5.0_09.
Thanks,
Kevin
Thanks,
Kevin

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2007 05:40 AM
I am now running on the Sun 32-bit JVM and everything seems to be working fine now.
Thanks for the help,
Alex
Thanks for the help,
Alex

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2007 06:41 AM
Glad to hear it!
Kev
Kev
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2007 10:56 AM
Alex, could you post your Java options? I have a similar problem (see my post: http://forums.alfresco.com/viewtopic.php?t=5276)
Thanks.
Thanks.
