I am having issues with a server running out of physical memory and I'm having troubles discerning whether it is from my application's Java process or something else on the server.
We have a java application where towards the last part of the codes we wrote these lines
Runtime runtime = Runtime.getRuntime();
long memory = runtime.totalMemory() - runtime.freeMemory();
System.out.println("\n\nUsed memory is bytes: " + memory);
What we notice is that over time the top shows increase in the memory(%) column for the application but the java memory(from runtime variables) valu
Running perl script in solaris 10 machine. Know the RAM Size is 25 GB. Have two queries.
Normally How much RAM memory a solaris process is allocated. Is it a default value assigned to any script or process. where it can be set? How do i determine how much max static array size can i have and how much dynamic memory can i allocate?
I have read that linux uses free memory for caching, to make system faster. However, both Nagios and Paessler PRTG monitoring system show me that my memory usage is critical.
I could change Nagios mem_usage script to sum free and cached memory, but would that be correct information? I doubt that they misunderstood Linux memory usage.
Lets say I have 8 GB RAM.
The man page for top defines SHR as:
t: SHR -- Shared Mem size (kb) The amount of shared memory used by a
task. It simply reflects memory that could be potentially shared with
other processes.
I can see this growing for one process but I am unsure of what exactly is being reported here.
After installation System monitor shows that memory usage is over 500 MB - pure system after start.
There are no processes which use more 20 MB of memory. Other versions of Ubuntu used about 200 MB. I'm using 64bit version. Intel i7, 16 GB of memory.
What's going on? What process are eating my memory?
I am not sure how to interpret the memory usage of our servers on which WebSphere MQ (WMQ) is running. The main question is: Is WMQ using more and more memory over time (is it leaking memory) or is everything just fine and Linux is using our RAM for disk caching?
We have the following Cacti graph.
The data for this is polled from /proc/meminfo.
On Windows 7 and Windows 2008 SP2, how can I view who or what is using up my memory?
There are several discussions complaining high memory usage of PHP-FPM, without any practical approach to overcome. As I explored the problem with numerous tests, the problem is related to the age of PHP-FPM age.
Imagine we have pm.max_children = 10, and have a PHP script consuming 10M memory. One expects needing 100MB of MB. This is correct for the first 10 processes.