I have written this code in C which reads a very large collection of text files and does some processing. The problem with this code is that there are memory leaks which I am not able to figure out as to where the problem is.
We are using Windows 2008 R2 and IIS 7 running on Amazon EC2. IIS is running a single .NET application written in C#.
We are having performance issues and I want to give the application more memory, but I cannot figure out how to do it. How do I control the amount of memory that the CLR gets?
I'm a total newbie with IIS, .NET and the CLR.
I have a dual-core processor. I'm running two instances of the program below
void void main(){
int i;
while(1){
i=i+1;
}
}
I run TOP and CPU usage gets up to 97%, however it never reaches 100%, why doesn't it?
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
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.
Here I will show you to to minimize this memory and CPU usage on Firefox.
Firefox is my vital software on my daily activity. It has been my default Internet browser for years. But, did you realize that actualy Firefox eats huge amount of memory and CPU resources?
I have the hs_err_pid of a long running java process that has received a SIGSEGV. In C.6 System Section I can get a rough approximation of the free memory on the system from (MemFree + Buffers + Cached) / MemTotal, but I would like to find out exactly how much memory this process was addressing at the time of the crash, is this captured in this file?
I am running a recent version of HAProxy 1.5 (dev15), and I've noticed that after HAProxy has been running for a while, its memory usage creeps up from initially 0.9% of the total memory to 1.9% and stays there even when there is no more incoming requests.
I've noticed high memory usage on the server.
Details:
OS: CentOS 6.3 - x86_64
Web server: Nginx with PHP-FPM
The server is generating PDF documents so the traffic is minimum.
top:
# top -b -n 1 -a
top - 10:04:51 up 21 days, 18:57, 1 user, load average: 0.00, 0.00, 0.00
Tasks: 92 total, 1 running, 91 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.3%us, 0.2%sy, 0.0%ni, 99.6%id, 0.0%wa,