473,385 Members | 1,372 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Out of memory exception

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.
Nov 20 '05 #1
4 2545
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
"RRiness" <an*******@discussions.microsoft.com> wrote in message
news:00****************************@phx.gbl...
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.

Nov 20 '05 #2
Cor
Hi RRiness

Normaly a OutOfMemoryException is an endless loop

Don't know but I would check for that

Cor
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.

Nov 20 '05 #3
* "Cor" <no*@non.com> scripsit:
Normaly a OutOfMemoryException is an endless loop


Better: "can be caused by an endless loop".

;-)

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #4
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

"Alireza Kheyrollahi" <al******@aliostad.co.uk> wrote in message
news:OB**************@TK2MSFTNGP10.phx.gbl...
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
"RRiness" <an*******@discussions.microsoft.com> wrote in message
news:00****************************@phx.gbl...
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.


Nov 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Alan Gifford | last post by:
I wrote a program to make sure that new would throw a bad_alloc exception if more memory was requested than was available. On my system, new allocates up to 2931 MBs of memory (I don't have that...
21
by: Stephan | last post by:
why does the following code not work???? after compiling and running it will just say killed after all my memory filled up any suggestions? #include <iostream> using namespace std; void...
6
by: Ganesan selvaraj | last post by:
I using C# .net. i want to split the text files based of the some condition. my source text file size may be 4 kb to 4 gb. some time when i split the i got the "out of memory exception. when i...
6
by: Fred Zwarts | last post by:
Hello, I am trying to debug some complex debug code. In order to track the use of dynamically allocated memory, I replaced the standard global new and delete operators. (Not for changing the...
2
by: Aravind | last post by:
Hi, I am ruuning to out of memory exception , My system has RAM of 4 GB and virtual memory paging size set to 4GB .When I check the memory occupied by the process during the exception , it is less...
1
by: bw | last post by:
I have a basic custom collection that throws a new exception if the item(key) is not found in the collection. This is used as part of a calling function. It all works correctly, the problem...
2
by: Ilkka | last post by:
I have created an C++ application with Windows Forms, ADO and SQL server 2005. Now I need to change something and started debugging the code. Then suddenly I receive an error. "An unhandled...
2
by: =?Utf-8?B?Tm9tYW4gQWxp?= | last post by:
Hi, We are facing a strange problem in our ASP. NET website. Some times it gives the following unhandled exception. Error Message: Exception of type System.Web.HttpUnhandledException was...
1
by: George2 | last post by:
Hello everyone, Such code segment is used to check whether function call or exception- handling mechanism runs out of memory first (written by Bjarne), void perverted() { try{
2
by: Lambda | last post by:
I'd like to load a lot of data into a hashtable, when the memory is used up, I'll write the data to a file. I'm trying to use std::tr1::unordered_map to implement that. My question is if I...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.