Solved

out of memory visual studio

Posted on 2014-12-16
5
422 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 167 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 166 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 167 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

Learn by Doing. Anytime. Anywhere.

Do you like to learn by doing?
Our labs and exercises give you the chance to do just that: Learn by performing actions on real environments.

Hands-on, scenario-based labs give you experience on real environments provided by us so you don't have to worry about breaking anything.

Question has a verified solution.

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

Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

705 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