System.OutOfMemory Exception urgent Help pls

M

Mike

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
 
T

ThatsIT.net.au

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?
 
M

Mike

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 said:
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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,240
Members
46,830
Latest member
HeleneMull

Latest Threads

Top