473,395 Members | 1,668 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,395 software developers and data experts.

System.OutOfMemory Exception urgent Help pls

Hi Guys,

I have a real serious problem that stoped me doing any progress in my project.
in one of my webpages I have a wizard of more then 13 pages and in every
page some Ajax controls, textboxes, dropdownlists, about 4 panels, where
every page in my wizard have almost the same controls; so all what I had to
do is copy the controls from a wizard page then paste it to next one and just
change the controls names and it was going all fine till the page 8 in my
wizard where pasting this set of controls is now giving me this error
"System.OutOfMemory Exception" and this is happening at design time, and even
just browsing between the wizard pages at design time is giving me the same
error. I thought that the wizard plus these controls are consuming too much
memory so I changed my design and deleted the wizard and used MultiView
instead but still the same problem. So help me pls, or how can I increase the
memory space used by Visual Studio knowing that my pc's RAM is 2G and still
have 30G free disk space!!!!?
Thanks
--
Regards,
M.Rochdi
Jan 9 '08 #1
2 1666
You say that the code is almost the same in all pages, lets see the code and
what the differences are.

When you used the MultiView what page did you get the error on?

You may need to add code bit by bit find the problem.

What do the pages do, is it possible that your machine is running out of
memory without an error?
"Mike" <Mi**@discussions.microsoft.comwrote in message
news:EB**********************************@microsof t.com...
Hi Guys,

I have a real serious problem that stoped me doing any progress in my
project.
in one of my webpages I have a wizard of more then 13 pages and in every
page some Ajax controls, textboxes, dropdownlists, about 4 panels, where
every page in my wizard have almost the same controls; so all what I had
to
do is copy the controls from a wizard page then paste it to next one and
just
change the controls names and it was going all fine till the page 8 in my
wizard where pasting this set of controls is now giving me this error
"System.OutOfMemory Exception" and this is happening at design time, and
even
just browsing between the wizard pages at design time is giving me the
same
error. I thought that the wizard plus these controls are consuming too
much
memory so I changed my design and deleted the wizard and used MultiView
instead but still the same problem. So help me pls, or how can I increase
the
memory space used by Visual Studio knowing that my pc's RAM is 2G and
still
have 30G free disk space!!!!?
Thanks
--
Regards,
M.Rochdi
Jan 9 '08 #2
You say that the code is almost the same in all pages, lets see the code and
what the differences are.

I said that the controls are almost the same in every wizard page witch
means the Design code would be almost the same, but its really too long to
cut and past it in my post.

When you used the MultiView what page did you get the error on?
with MultiView there was only one page. I deleted the wizard witch means all
its pages and I used a MultiView instead with 13 Views in my webpage and when
trying to add more controls to View 8 or 9 that error will start to come up
in the add control it self. but anyway, when having the wizard just browsing
backward and forward between the wizard pages at design time will give the
same error.

What do the pages do?

the controls in the page will change to a Gray box will the above error.

is it possible that your machine is running out of
memory without an error?

Well I do have 2G RAM and when I checked the Performance of my CPU it was
only from 1% to 40% but I don't know how much memory is conserved to Visual
Studio to work and I've heard that you can increase the memory that VS can
work on but I don't know How?
--
Regards,
M.Rochdi
"ThatsIT.net.au" wrote:
You say that the code is almost the same in all pages, lets see the code and
what the differences are.

When you used the MultiView what page did you get the error on?

You may need to add code bit by bit find the problem.

What do the pages do, is it possible that your machine is running out of
memory without an error?
"Mike" <Mi**@discussions.microsoft.comwrote in message
news:EB**********************************@microsof t.com...
Hi Guys,

I have a real serious problem that stoped me doing any progress in my
project.
in one of my webpages I have a wizard of more then 13 pages and in every
page some Ajax controls, textboxes, dropdownlists, about 4 panels, where
every page in my wizard have almost the same controls; so all what I had
to
do is copy the controls from a wizard page then paste it to next one and
just
change the controls names and it was going all fine till the page 8 in my
wizard where pasting this set of controls is now giving me this error
"System.OutOfMemory Exception" and this is happening at design time, and
even
just browsing between the wizard pages at design time is giving me the
same
error. I thought that the wizard plus these controls are consuming too
much
memory so I changed my design and deleted the wizard and used MultiView
instead but still the same problem. So help me pls, or how can I increase
the
memory space used by Visual Studio knowing that my pc's RAM is 2G and
still
have 30G free disk space!!!!?
Thanks
--
Regards,
M.Rochdi
Jan 10 '08 #3

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

Similar topics

3
by: Mike Schilling | last post by:
Instances of SystemOutOfMemoryException do not contain a stack trace. Easy test to verify this: class OOM { public static void Main() { try { Object arr = new Object; } catch...
0
by: vMike | last post by:
If a website is running on a shared server and a system.outofmemory exception is thrown, is the error because of my website application or could it be because of anyone's website application. If it...
2
by: Ricky Chan | last post by:
Windows Server 2003 with 2G Ram ,IIS6 -> I have enabled /3gb switch in boot.ini ! -> Machine.config set to 80% memory Limit However, It still throw outofmemory exception when loading large...
5
by: LP | last post by:
Hello, We running VB.NET application which gets massive amounts of data from SQL Server, loads data into DataTables, then re-arranges data into tabular structure and outputs it to a flat file....
2
by: Peter S. | last post by:
I am pulling some data from a source via ODBC and placing the information in a DataSet. The first pull is very large but once that is complete I plan to do nightly pulls to get any new data that...
3
by: Nemisis | last post by:
Hi everyone, Can someone please tell me why my code hits an "out of memory exception" on the below code? All the code does is load some documents from a SQL database and loop through a data...
6
by: =?Utf-8?B?QkJN?= | last post by:
Hi, I have an app that is crashing due to a System.ArgumentException. At this point it's just a simple app to test some basic object values. The main app is a Windows App that looks like...
8
by: Mantorok | last post by:
Hi all I'm populating a DataTable with around 1,500,000 rows, the table contains 4 columns, 3 string columns and a decimal column. However, I keep getting OutOfMemory exceptions when my app...
2
by: =?Utf-8?B?c2FtMDFt?= | last post by:
I have a remoting application that was developed on a Windows XP SP2 machine with VS2005 SP1. I finally got everything deployed using Wix 3.0, and it works great. Problem is, when I install the msi...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.