- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Monitoring and controlling memory usage of Java in...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2008 11:56 PM
04-29-2008 11:56 PM
Monitoring and controlling memory usage of Java instances
Does anyone know that how can I monitor a number of Java instances and see if they are consuming too much memory resources?? Also, can I control the memory usage of them?? Many thanks
Best Regards
KCW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 12:15 AM
04-30-2008 12:15 AM
Re: Monitoring and controlling memory usage of Java instances
Regards
Safar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 12:21 AM
04-30-2008 12:21 AM
Re: Monitoring and controlling memory usage of Java instances
it will show the cpu % and memory in KB size.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 12:44 AM
04-30-2008 12:44 AM
Re: Monitoring and controlling memory usage of Java instances
http://www.hp.com/go/java
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 01:03 AM
04-30-2008 01:03 AM
Re: Monitoring and controlling memory usage of Java instances
>Also, can I control the memory usage of them??
For this you will have to define appropriate parameters at the application level itself. What type of application are you running?
revert!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 01:20 AM
04-30-2008 01:20 AM
Re: Monitoring and controlling memory usage of Java instances
http://www.hpux.ws/?p=8
Ultimately you will identify processes and this will lead back to the java code.
Nice to know however who the offending processes are.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 02:00 AM
04-30-2008 02:00 AM
Re: Monitoring and controlling memory usage of Java instances
Thanks for your help, it is running J2EE, details as below:
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2.10-060112-14:28)
Java HotSpot(TM) Server VM (build 1.4.2 1.4.2.10-060112-19:42-IA64N IA64, mixed mode)
Best Regards
KCW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 02:09 AM
04-30-2008 02:09 AM
Re: Monitoring and controlling memory usage of Java instances
Attached please find the glance report of the server, again, thank you very much for your great help!!
Best Regards
KCW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 03:29 AM
04-30-2008 03:29 AM
Re: Monitoring and controlling memory usage of Java instances
For java applications, we can control the heap size at the command Line level.
Available switches are:
-Xms64m -Xmx512m
-Xms is for initial heap size
-Xmx is for maximum heap size
NB. The default for ms and mx is 64 MB (64m).
hope this helps!
kind regards,
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2008 11:38 PM
05-01-2008 11:38 PM
Re: Monitoring and controlling memory usage of Java instances
Do you think the memory usage is too high (please kindly see the attachment) for the machine?? As it always indicate that 99% usage of memory. Thanks
Best Regards
Sunny Lo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2008 11:53 PM
05-01-2008 11:53 PM
Re: Monitoring and controlling memory usage of Java instances
with the limited amount of information available about your system, it is quite difficult to get the global picture here.
Indeed some of the java processes are using an 'abnormal' amount of memory compared to other java processes on the same system.
Did you look into: HPjmeter ?
Since you have glance, you could just drill-into the top processes and check the resources etc...
What type of application is it? Oracle? If yes, why don't you log a service request so that the metalink analyst look into the issue more deeply.
kind regards
yogeeraj