Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-25-2008, 01:27 PM
Member
 
Join Date: Jun 2008
Posts: 4
lardum is on a distinguished road
JVM memory usage
I have 2 questions:

1. In JCONSOLE the mem usage is 270Mb, committed is 290Mb and Max is 1,5Gb. However the java.exe process in Windows Task manager is using about 500Mb of memory. Anyone have any ideas why?

2. In the VM Summary page it says:
Total physical memory:*
2*097*151 kbytes
Free physical memory:*
2*097*151 kbytes

However i have 4Gb RAM installed in the machine. Anyone have any ideas on this one?
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-25-2008, 01:32 PM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,609
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Are you use any IDE for this?
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 06-25-2008, 01:46 PM
Member
 
Join Date: Jun 2008
Posts: 4
lardum is on a distinguished road
we are developing in Eclipse. But not on this machine.

This machine is a webserver hosting an application. JDK 1.6 is used.
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 06-25-2008, 01:50 PM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,609
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
No whatever the machine you get 500Mb on Task Manager when you use an IDE. Is that right?
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 06-25-2008, 03:01 PM
Member
 
Join Date: Jun 2008
Posts: 4
lardum is on a distinguished road
there is no IDE on this machine.

The JVM is running an application server (Resin from Caucho) and when it starts up it starts with around 40-50Mb of memory usage.
Bookmark Post in Technorati
Reply With Quote
  #6 (permalink)  
Old 06-25-2008, 04:32 PM
Niveditha's Avatar
Senior Member
 
Join Date: May 2008
Posts: 299
Niveditha is on a distinguished road
Send a message via Skype™ to Niveditha
Hi,
If you think its because of your code, you can try out one more tool called JProbe which gives you memory analysis too.
__________________
To finish sooner, take your own time....
Nivedithaaaa
Bookmark Post in Technorati
Reply With Quote
  #7 (permalink)  
Old 06-25-2008, 05:07 PM
Member
 
Join Date: Jun 2008
Posts: 4
lardum is on a distinguished road
Im gonna have a look at JProfiler... See if that shows me anything.
Bookmark Post in Technorati
Reply With Quote
  #8 (permalink)  
Old 06-26-2008, 05:30 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,609
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Is that your application server comes with any details regarding it's usages of the system?
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Latest XML parsing and memory usage benchmark Jimmy Zhang XML 0 03-03-2008 11:49 PM
Timer usage in java program sandeeprao.techno New To Java 5 01-24-2008 09:16 PM
Integer Usage bluegreen7hi New To Java 11 01-24-2008 10:54 AM
How to determine CPU usage using Java????? JavaEmpires New To Java 2 01-11-2008 01:19 AM
Comm API Usage hobbyist New To Java 0 11-16-2007 06:59 PM


All times are GMT +3. The time now is 09:59 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org