Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SWAP SPACE USED BY JVM PROCESS

Posted on 2010-09-23
4
Medium Priority
?
915 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 2000 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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
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.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month10 days, 15 hours left to enroll

886 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