Solved

SWAP SPACE USED BY JVM PROCESS

Posted on 2010-09-23
4
890 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

632 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