I have a VB 2010 application that is encountering "Not enough storage is available to complete this operation". The program is asynchronous running a web browser control based program and performing various functions when the page is encountered on our domain to detect bad posts on our blogs etc.
I've noticed that while running the exe the program just shuts down. In debug mode it crashes in various places including such things as opening a web page or clearing the web browser history.
Last night it crashed on, which clears the web history.
System.Diagnostics.Process.Start("rundll32.exe", "InetCpl.cpl,ClearMyTracksByProcess 4351")
The HDD has 150gb free and the computer in running Win 7 with 4 GB of RAM. I even taken to restarting the machine, checking memory and then running the program. I am periodically running GC.Collect. Of course when I spend hours watching the program run, it does not crash but as soon as I walk out of the room it stops.
I have an error log and nothing ever gets reported there.
Observation: I don't really believe that this is an error is an issue with storage space but rather it is an irrelavant comment to the actual issue being encountered but obviously I don't know.
Question: ideas on how to fix this?