Quote:
Originally Posted by paulsm4
Dude - you DON'T HAVE A MEMORY PROBLEM!!!!!!!!
|
We can't know that from the info posted.
The "virtualization" is hiding too much info.
Quote:
if you WANTED to "optimize" memory usage, the ONE process in question is Java.
Which, in your "top" output, is using 1.484GB virtual, and 860MB of resident memory.
|
The OP has said that is reasonable. I don't want to speculate whether that is right or wrong.
Quote:
You've got free RAM. You're using zero swap.
|
Do you know enough about this specific type of "virtualization" to justify that faith you're putting in that free RAM stat? I don't. Anything we know from non virtual Linux and true virtual Linux can be wrong when applied to this not quite virtual method of sharing a system.
As for using zero swap, that is incredibly unlikely, given all the other stats. I am pretty sure that the "virtualization" is simply stopping the tools from being able to see things like swap use.
Quote:
Please LISTEN to what the others are trying to tell you.
|
Now you're giving good advice.
Quote:
1. As you've been told repeatedly, "top" doesn't show *all* processes
|
That info seems to be bouncing off the OP to no effect. I don't know a better way to phrase it.
If
top was showing 25 processes and you then sort by RES,
top will still be showing you only 25 processes, but it won't be the same 25 processes (merely sorted differently). It will be the 25 processes using the most memory.
I don't know how much of the memory use will show up that way. Maybe no more than we've already seen (but that's unlikely). Maybe very close to the total implied by
free. Maybe significantly more than the total implied by
free (even if the stats were real, there are many reasons any of those might happen).
I think this, not really virtual, shared system is showing you very distorted statistics for any system wide total (obviously not a true system wide total, but also not an accurate measure of your share).
But until you look at the understandable use of memory by processes, you're not ready to even start thinking about more complicated aspects.