OpenVZ Forum


Home » General » Discussions » Memory leak Urgent
Re: Memory leak Urgent [message #1945 is a reply to message #1938] Thu, 09 March 2006 16:10 Go to previous messageGo to previous message
bjmg is currently offline  bjmg
Messages: 32
Registered: December 2005
Location: Puettlingen, Germany
Member

Please read a book/the documentation about the linux memory management.
please also try to look into the output of the command "free". It looks like
             total       used       free     buffers     cached
Mem:       2057604    2037524      20080       23640    1045648
-/+ buffers/cache:     968236    1089368
Swap:      2996112       2684    2993428

As you can see I have 2 GB of memory and only 26MB free BUT - and that is important - I also have 23 MB of buffer space and about 1GB of cache space. So in reality I have about 1 GB of free memory because the cache and buffer space is allocated dynamically.
I only have 1 GB of free memory because that is my workstation and I just use a large java application.
You can change that behaviour if you know what your are doing with sysctl.

Bernhard
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Running different distros as guests, how's that work?
Next Topic: Blogged about my experience with OpenVZ
Goto Forum:
  


Current Time: Wed Jul 10 08:32:47 GMT 2024

Total time taken to generate the page: 0.02579 seconds