Out of memory exception

  • Thread starter Thread starter RRiness
  • Start date Start date
R

RRiness

I have a two form project: a mdi main form and child
form. I am getting the following error:

An unhandled exception of
type 'System.OutOfMemoryException' occurred in
system.windows.forms.dll

Additional information: Error creating window handle.

Besides the two forms I have a data tier class and
dataset class loaded with the main form. Nothing is
running besides Visual Studio.

I am using VS2002. Any help appreciated.
 
Hi,

This error message reminds me of GDI+ errors when coordinates are wrong. Do
the forms have any resources (images on the buttons or forms) on them?

Cheers
Ali
 
Hi RRiness

Normaly a OutOfMemoryException is an endless loop

Don't know but I would check for that

Cor
 
I don't have any images being used. The error occurs when I try to show the
child form. I'll check the form properties to see if there's anything at
odds with a child form.
Thanks
 
Back
Top