Solved

out of memory visual studio

Posted on 2014-12-16
5
398 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
5 Comments
 
LVL 24

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

813 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now