Re: RHEL 6 High memory usage
Re: RHEL 6 High memory usage
- Subject: Re: RHEL 6 High memory usage
- From: Gennady Kushnir <email@hidden>
- Date: Sat, 23 Jun 2012 16:53:26 +0400
I think it is because Mac OS is "smarter" using physical memory and
virtual memory.
I always have much greater memory usage on linux than on mac for the
same WO app...
2012/6/23 Pascal Robert <email@hidden>:
>
> Le 2012-06-22 à 13:00, Ron Lift a écrit :
>
>
> I want to thank everyone for the wiki on Deploying on linux at
> http://wiki.wocommunity.org/display/WO/Deploying+on+Linux
> It has been a great help.
> I am running into a memory issue that puzzles me and was wondering if anyone
> has some insight. I have my application deployed on RHEL6, 64 bit, Java 1.6
> .33 running on VMware. When I look at the memory usage after the server is
> rebooted, no users have accessed the application, each instance is using @
> 700meg. The strange thing is before I had the operations department build
> the server, I created a CentOS 6.2 64 bit on my MBP laptop to test. I can
> take the same application, deploy it and the memory usage is @ 110 meg. I
> then deployed the app on our OSX server, 110 meg. Any ideas what could be
> different or what I could look at?
>
>
> The difference might be in the version (client vs server, 32 bit vs 64 bit)
> I assume you have a 64 bit JVM everywhere? Same JVM version everywhere? You
> can check if you are running the JVM as a "server" by calling java version:
>
> $ java -version
> java version "1.6.0_33"
> Java(TM) SE Runtime Environment (build 1.6.0_33-b03-424-11M3720)
> Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03-424, mixed mode)
>
> But still, a 590 MB difference is huge. If you enable JMX, what is the real
> usage of the heap space?
>
> Here is some info
>
> Launching JavaMonitor.woa ...
> java -DWORootDirectory="/opt" -DWOLocalRootDirectory="/opt/Local"
> -DWOUserDirectory="/" -DWOEnvClassPath=""
> -DWOApplicationClass=com.webobjects.monitor.application.Application
> -DWOPlatform=UNIX -Dcom.webobjects.pid=5058 -classpath WOBootstrap.jar
> com.webobjects._bootstrap.WOBootstrap -WOPort 8888
>
> Launching wotaskd.woa ...
> java -DWORootDirectory="/opt" -DWOLocalRootDirectory="/opt/Local"
> -DWOUserDirectory="/" -DWOEnvClassPath=""
> -DWOApplicationClass=com.webobjects.monitor.wotaskd.Application
> -DWOPlatform=UNIX -Dcom.webobjects.pid=5055 -classpath
> WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOPort 1085
> Loading
> /opt/Local/Library/WebObjects/JavaApplications/JavaMonitor.woa/Contents/UNIX/UNIXClassPath.txt
> Loading
> /opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/UNIX/UNIXClassPath.txt
>
>
> Launching CoopApp.woa ...
> java -DWORootDirectory="" -DWOLocalRootDirectory="/Local"
> -DWOUserDirectory="/opt/Library/WebObjects/Applications/CoopApp.woa"
> -DWOEnvClassPath="" -DWOApplicationClass=Application -DWOPlatform=UNIX
> -Dcom.webobjects.pid=5900 -classpath
> WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOFrameworksBaseURL
> /WebObjects/CoopApp.woa/Frameworks
> Loading
> /opt/Library/WebObjects/Applications/CoopApp.woa/Contents/UNIX/UNIXClassPath.txt
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
--
С уважением,
Геннадий Кушнир
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden