Options

Memory profiling: "Out of memory" exception

Hello,
I tried to perform memory profiling on C# application.
After the first snapshot taken the memory used by profiler increased by 600 mb. On the second attemp of snapshot taking the memory usage increased to 1.2 gb and I get the error message about the "Out of memory exception" related to the profiler application.
-Is it normal, that memory usage is increased on every snapshot ?
-What can be done ?
My application uses about 400 mb of memory in regular state and about 2GB when profiling.
Also, as I can see in task manager, there is about 4 gb of memory that is not used by applications but "cached" (Win 2008 server), so I (profiler) cannot use this memory ?

Comments

Sign In or Register to comment.