Click to See Complete Forum and Search --> : An unhandled exception of type 'System.OutOfMemoryException' occurred in Unknown Modu


johnsanthosh
February 7th, 2005, 07:20 AM
Hi


Whenever I run a program, a message is shown like this


"An unhandled exception of type 'System.OutOfMemoryException' occurred in Unknown Module."

why is this appearing. what should I do to solve this.


pls help me to overcome it.

santhosh

Andy Tacker
February 8th, 2005, 02:22 AM
either you are tryin to access an array element when the array element is not exisitng.
or, you are trying to convert something (like string/int) to something (like string/int).

Krzemo
February 8th, 2005, 04:51 AM
I think that U entered unfinite loop, wich allocates large chunk of memory.

Use debugger to see what really happens....

Best regards,
Krzemo.

johnsanthosh
February 8th, 2005, 10:37 PM
Hi

No
If I run any program, the output is shown but while closing the outpput window, I come across this message.

santhosh

boudino
February 9th, 2005, 01:25 AM
Due to Unknow Module, I think it has something to do with threads. Check if you stop all threads correctly (if you have any).

Andy Tacker
February 9th, 2005, 02:04 AM
Debug your code... set breakpoints at all the destructors... see what happens...