When my application crashes it generates a minidump to allow post mortem debugging. I use the options MiniDumpWithIndirectlyReferencedMemory and MiniDumpWithPrivateReadWriteMemory.
It all worked great until recently when the dumpfiles started getting over 500MB in size. Visual Studio throws the following error at me the moment I want to start debugging a dump that size.
"Not enough storage is available to process this command"
I have WinXP 32 bit, with 4GB of RAM in it of which I'm using less then 1GB. Depending on how economical VS2008 is with it's memory in this procedure, it should have plenty of addressable space.
What I do not want to do:
- Hack WinXP to get more memory: The app only keeps growing so this will only work temporarily. Here's a list of possible actions I found: http://www.msfn.org/board/topic/62001-not-enough-storage-is-available-to-process-this-command/
- Switch to 64-bit OS
- Omit the MiniDumpWithPrivateReadWriteMemory option
So how should I solve this?
- Omit some dll's from the dump? Split the included memory from groups of dll's over different dumps? Any idea on how to do this? (if this is even possible)
- ...?