Memory profiling: "Out of memory" exception
tratata
Posts: 2
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 ?
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
the best thing to do would be to try the upcoming V5 Memory Profiler which is much more efficient with memory usage and has a large number of new features which make memory profiling much simpler.
You can access the EA builds from here:
http://www.red-gate.com/messageboard/viewforum.php?f=92
Stephen