On Windows 7 and Windows 2008 SP2, how can I view who or what is using up my memory?
I want to have a whole list of all the processes with their memory usage.
I want to sum up the memory usage of similar processes (i.e. processes with the same name or the same father process)
How can I do that, e.g. with command line tools?
I have a strange memory behavior in an Android application I'm developing. The application is running fine, but if I look to a "task manager" in Android, like the Samsung SII task manager or the "Memory Usage" application on a Nexus 7 it shows that while using the app the amount of memory used is rapidly growing to an insane amount, like hundreds of megas (600~700MB on the Nexus 7).
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.
I'm trying to calculate the amount of memory used by AMP in an LAMP stack machine.
top -bn1 | grep -E '(mysql|httpd|php)' | awk '{mem += $(NF-2)} END {print mem}'
But the sum generated using the above command is greater than 100%, but I was expecting something below 100% since individual processes memory usage is already represented in % by top.
Please help me understand whether memory reported
I'm using cgroups with the memory controller to set a memory limit for each user (using the memory.limit_in_bytes setting).
The problem is that this setting also accounts cache usage. Therefore, if the limit is 1GB, and the user merely downloads or copies a 1GB file, their processes get killed.
I'm running Ubuntu server 12.04 on a computer at home, granted it's a netbook so there's not a lot of performance to squeeze out of it, but I'm still wondering about the memory usage I'm seeing from /usr/sbin/mysqld.
When I run htop and sort by memory usage, I get 16 processes on top, all of them running from the mysqluser and pointing at the command /usr/sbin/mysqld.
i am using ubuntu 12.04LTS on my linode vps include core2 cpu, 2gb RAM. I am doing a lot of research on optimizing memory for mysql and apache process -> optimize apache memory use, there i am using two scripts for compute memory per process.
I want to Limit cpu and memory usage for php-fpm and nginx processes in centos.
I came across following tools
cpulimit
cggroups
memory resource locater
which will more efficient and how can I configure for limiting resources for php-fpm and nginx processes ?