This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Linux / UNIX and the fly likes swap memory no used Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "swap memory no used" Watch "swap memory no used" New topic
Author

swap memory no used

Haroldo Nascimento
Ranch Hand

Joined: Aug 14, 2003
Posts: 79
Hi

I am run my application java in Linux. The application aloc all memory RAM of machine for my application, but used 0% de swap memory to my applicationin all time.

Has any configuration in Linux that no allow used the swap memory.

thanks
Bharat Roy
Ranch Hand

Joined: Jul 01, 2004
Posts: 156
Hi Haroldo,

I have started a similar thread. I guess swap partition is used when RAM gets full.

How much RAM your machine has? Also keep an eye on my thread ... both are related.
Haroldo Nascimento
Ranch Hand

Joined: Aug 14, 2003
Posts: 79
My machine has 8GB RAM
The File System ca aloc other 4GB ?
How I can see the amount th memory alocate for File System ?
Avinash Rawana
Ranch Hand

Joined: Feb 22, 2006
Posts: 31
free -m


--------------<br />Avinash A. Ramana<br />NYIT Student<br /><a href="http://www.aramana.org" target="_blank" rel="nofollow">http://www.aramana.org</a><br />avinash@styleempire.com
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: swap memory no used
 
Similar Threads
Garbage Collection and Virtual Memory
how to free tmpfs
Linux RAM Usage
java.io.IOException : can't allocate memory
GC alloc all memory of machine