Current time: 05-27-2024, 09:29 AM Hello There, Guest! (LoginRegister)


Post Reply 
Reducing memory usage
Author Message
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #5
RE: Reducing memory usage
Tracking memory usage is not a simple task, and dcreation gave you an initial hint of it.

First of all, assuming that you have no SWAP space, the virtual memory (VIRT) used by a process is completely irrelevant.
Next, the most important figure is the physical memory being used (RES column), which says that your apache instances are consuming approximately 5mb each).

Nevertheless, this is not entirely true, as part of this memory is shared with other processes (those that use the same libraries). A hint about the amount of memory that *might* be shared with other processes is shown in the SHR column. For your apache case, this column shows that approx. 1.3mb of each apache process are potentially being shared (not just among the apache process, but with any other program using the same libs).

Finally, adding the RES value of all your processes gives you a *worst case* (this is, considering that no memory is shared between processes at all which is NOT the case) of 180mb being used by your system.
(This post was last modified: 04-08-2010 10:25 PM by kilburn.)
04-08-2010 10:24 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Reducing memory usage - pete - 04-07-2010, 11:27 AM
RE: Reducing memory usage - BeNe - 04-07-2010, 03:25 PM
RE: Reducing memory usage - pete - 04-09-2010, 07:29 PM
RE: Reducing memory usage - pete - 04-08-2010, 03:11 PM
RE: Reducing memory usage - dcreation - 04-08-2010, 08:58 PM
RE: Reducing memory usage - kilburn - 04-08-2010 10:24 PM
RE: Reducing memory usage - kilburn - 04-10-2010, 03:27 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)