C # memory leak?

I am testing application cache performance. To do this, from my local machine, I am in the cache host on the local network. This cache host runs on Windows Server 2008, and with the exception that there is nothing in it, nothing is installed on it. It has 8 gigabytes of RAM. It is also a VMware virtual server,

As soon as I hit the cache host, I see that the used memory is increasing. But something very suspicious is happening somewhere. The total byte of raw data that is used is 1.5 gigs. The size of the object is 1,744 bytes (using the ANTS profiler). The total facility volume is 2521,451. I turned off the eviction. But, this is interesting, as soon as the server falls into a throttle state, I see that server RAM is used on 7.72 gigabytes, but in addition to the distributed cache with 1.8 gigabytes, there is no other application that uses such a large amount of RAM.

I am using Visual studio 2010 and I am inserting and reading objects in parallel

The question I wanted to ask is:

Where is my memory? The server in the throttle state says that I use 7.72 gigabytes of allocated memory, while in the task manager I see that only 3 Gigs are used (if I add all the current memory of the process)

+6
c # memory appfabric
source share
2 answers

Gagan, if you still have this problem, can you download the SysInternals process monitor? You can find it here . Run it and add columns for personal bytes of memory, working set and virtual size. Peak private bytes and a working set won't hurt either, and there are other memory columns that you can add for fun :)

Task Manager does not give you a virtual size (Windows 7 allows you to add Commit Size, I don’t know if Server 2008 also has this). This should give you a clearer idea of ​​where the memory occurs.

Let us know if this helps or you need further help with what is happening in your memory!

+3
source share

I am not quite sure about this, since it is not clear in your question where you see the different amounts of RAM use (guest or VMWare host).

When starting VMWare Server on server 2008, the memory usage indicated by the task manager on the host does not take into account the individual uses of the virtual machines. I noticed this a while ago and am not sure if this is a design bug / known issue /.

An example . I have 3 virtual machines running on my Server 2008 machine, each of which launches a different version of Windows with running applications. At the moment, there is nothing on the host but virtual machines. The task manager in the host reports ~ 2 GB of RAM, while guests use at least 1 GB each.

Can you determine exactly where your RAM usage numbers come from?

+1
source share

All Articles