?
Solved

out of memory visual studio

Posted on 2014-12-16
5
Medium Priority
?
436 Views
Last Modified: 2014-12-29
Hi,
using visual studio 2010 to make a winform app, with visual basic, when i right click and view code for the form, i do like 10 scrolls to end, meaning not much coding there, i have many images (png) small size used, i did place like 60 pictureboxes, small sized as "clickable" icons....windows 7 64x....harddisk size ok everything is ok, i close i restart(both pc and visual studio) i empty temp folders clutter and whatnot...i tried opening other app and much larger ones i have created b4 with more coding involved and images, and they work fine,,, only that particular app, it was fine actually but came at a point where it stopped...i can open the coding window, but not the designer view, if it opens it says OUT OF MEMORY. and if i start it up (when VS2010 is closed imean)  it gives a msgbox saying out of memory ...no exceptions nothing just out of memory, and i did not want to play or touch the registry or play with the 2GB alocated for VS2010...
any ideas please?
thanks
0
Comment
Question by:ahashash
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 25

Assisted Solution

by:chaau
chaau earned 668 total points
ID: 40504054
open project...select build->clean solution...close...reopen...try again your form (did i succeeded writing in your style)
0
 
LVL 12

Assisted Solution

by:ktaczala
ktaczala earned 664 total points
ID: 40504085
Are you statically adding images to the picture boxes? If so how large are the image files?

It sounds like you're saying that VS2010 IDE is crashing during development am I right?

Or when you run the app?
0
 
LVL 31

Accepted Solution

by:
Zoppo earned 668 total points
ID: 40504305
Hi ahashash,

you should enable logging VisualStudio's activity logging, probably you can get a hint with this what's going wrong (more info http://msdn.microsoft.com/en-us/library/ms241272%28v=vs.100%29.aspx):

To do so start VisualStudio via command line i.e. like this:

    <path to VS>\devenv.exe /log <path to log-dir>\vslog.xml

Then try to open the solution, wait until VS crashs, open the created log file i.e. in InternetExplorer and scroll down to the end to see what was executed before the crash happened.

ZOPPO
0
 

Author Closing Comment

by:ahashash
ID: 40519458
Many thankx all comments gave me an idea of what might be wrong
thanks
0
 
LVL 31

Expert Comment

by:Zoppo
ID: 40521835
Hi ahashash,

so you managed to fix the problem? That's great ...

Do you think you could write in short here how you fixed the problem and/or what was the cause? It might be very helpful for other people which may find this article when they have a similar problem.

Thanks and a Happy New Year,

ZOPPO
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question