Solved

SWAP SPACE USED BY JVM PROCESS

Posted on 2010-09-23
4
882 Views
Last Modified: 2012-05-10
what is swap space .. how is it used by the JVM processes in JBOSS
how to calculate it.  how to know ... how much heap memory is used and how much virtual memory is used?
0
Comment
Question by:damodar4u
  • 2
  • 2
4 Comments
 
LVL 26

Expert Comment

by:jar3817
ID: 33745971
Swap space is basically a partition of the drive used for virtual memory. It usually gets used when the system is out of physical memory. To view all that info type this command:

# cat /proc/meminfo
0
 

Author Comment

by:damodar4u
ID: 33769107
i need more info .. of how it works ... if i have a jvm and if i assign min size = 128 MB and Max Size = 512 MB and a Swap sapce space of 2 GB .. can you someone explain me how it works by taking theabove mentioned figures ?
0
 
LVL 26

Accepted Solution

by:
jar3817 earned 500 total points
ID: 33769882
You have no control over it, swapping is handled by the kernel. If you have a JVM with min 128MB and max 512MB, your talking about memory. If the server runs out of available memory, it's going to start swapping, but you'll have no control over which processes it does that to.

http://www.linux.com/news/software/applications/8208-all-about-linux-swap-space
0
 

Author Closing Comment

by:damodar4u
ID: 33770428
thjx for info
0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Convert websphere application server default chained Certificates from 1024 to 2048 keysize or higher size and also you can change signatureAlgorithm . Please make sure Websphere Application Server fixpack 7.0.0.23 or Above. The following steps a…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question