Out of memory exception while saving memory profiler results
jaspaul_khurana
Posts: 2
I am using the API dll to write snapshots at different points in time in my .net 2.0 Win app.
One of the snapshot results show there is a lot of memory consumption, which is expected.
But while trying to save these results I am getting "System.OutOfMemoryException". I have checked there is enough disk space for me to save the results and the system has enough RAM to support the process.
Can you please help.
The version I am using is 3.2.0.27
One of the snapshot results show there is a lot of memory consumption, which is expected.
But while trying to save these results I am getting "System.OutOfMemoryException". I have checked there is enough disk space for me to save the results and the system has enough RAM to support the process.
Can you please help.
The version I am using is 3.2.0.27
Comments
The only real way to prevent the problem is to reduce the time that you profile.
There was a bug in 3.x that caused yet another copy of the results to be created in memory when saving a set of results that already appeared in the UI, but this was supposed to have been resolved in build 27.
I only profiled the application for 1 minute (load the app and load a data file).
I am using Win2k3 R2 32 Bit with 4gb of memory.
The Redgate UI app is using 880mb of memory.
I am in the process of exporting the data using XML, which has been running for 20 minutes now.
What other information would you like to know?
Joe Feser