Solved

SWAP SPACE USED BY JVM PROCESS

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

816 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

10 Experts available now in Live!

Get 1:1 Help Now