Jump to content
Xtreme .Net Talk

Recommended Posts

  • Leaders
Posted

I'm curious. What are other people's memory usage for devenv.exe.

 

I have a good amount of RAM (1 gig), so it wouldn't surprise me to see mine a little higher than average. I am currently workin on an app, though, and devenv.exe starts out at 25 megs (with my solution open). Each time I build and run a debug (windows forms app), the memory usage shoots way up (300+ megs after a few builds). This is causing other memory hungry apps (photoshop for example) to crash, and my PF usage is almost 700 megs.

[sIGPIC]e[/sIGPIC]
Posted

If you're dealing with your own user-drawn controls, ensure that all your GDI objects are being disposed explicitly.

 

I've certainly had the case where I forgot to do so, and every 'action' with my user control WITHIN THE DESIGNER caused massive memory usage in a very short space of time.

 

I'm working on a multi-project soplution at the moment, with around 18 DLL files and three executables totalling around a million lines, and my copy of Visual Studio (2003) usually runs between 200-300MB memory usage at any given point in time. (on a machine with 1.5GB, its pretty nippy ;))

 

B

  • Leaders
Posted
If you're dealing with your own user-drawn controls' date=' ensure that all your GDI objects are being disposed explicitly. [/Quote']

 

The idea of a memory leak through one of my custom controls has occured to me. I am using my own (inherited) form, an owner drawn listbox, and loads of usercontrols (though my control would probably be better off inheriting from Control instead of UserControl, I'll look into that). But when the app itself is running as a release build, its not having any memory issues. Could have something to do with the designer, I guess.

[sIGPIC]e[/sIGPIC]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...