Solved

SWAP SPACE USED BY JVM PROCESS

Posted on 2010-09-23
4
873 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

746 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now