Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

System.memoryexception when closing app in .net

Status
Not open for further replies.

BlackDice

Programmer
Mar 1, 2004
257
US
while I'm running my app, everything seems to be working fine. Once I exit the app I get the following messagebox:

INTERNAL ERROR

Unhandled exception in Debugger::HandleIPCEvent

Event id = 0x225

Exception code = 0xc0000005,Eip = 0x7928c531

ProcessID = 0x4a4(1188), Thread id = 0x384(900)

then I get a messagebox telling me the following:

An unhandled exception of type 'System.OutOfMemoryException' occurred in mscorlib.dll

I recently deleted some controls and their message map entries for a dialog, and I wasn't getting this error before, does anyone know what this might be?


bdiamond
 
what in your opinion means: OutOfMemoryException ?

Ion Filipski
1c.bmp
 
Yes, I understand that. But there are no memory leaks, and it says the problem is in the mscorlib.dll file so I can't even break on the error. It never did that before, and all I do is open up the app, then close it and I get this error.

bdiamond
 
maybe some clean operation after program stack is destroyed...

Ion Filipski
1c.bmp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top