Leaders snarfblam Posted April 22, 2005 Leaders Posted April 22, 2005 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. Quote [sIGPIC]e[/sIGPIC]
michael_hk Posted April 22, 2005 Posted April 22, 2005 237432K now I am using VS.NET 2002, working on a winform project. I find it running slower and slower when I work and need reboot from time to time. Quote There is no spoon. <<The Matrix>>
penfold69 Posted April 22, 2005 Posted April 22, 2005 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 Quote
Leaders snarfblam Posted April 22, 2005 Author Leaders Posted April 22, 2005 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. Quote [sIGPIC]e[/sIGPIC]
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.