![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | Heavy memory usage in WPF application ? I have a UI which basically creates lots of styled buttons (perhaps 200+) which are all instantiated but not all Visible at any time. When I run my app and try and step through it there is one final step that happens after all my code has apparently executed but before the UI actually appears on screen. As I can't step thru this part of the execution I don't know what is happening. During this step - the machine goes to 100% CPU usage for about 10 seconds - the TaskManager shows me that the memory footprint of the app has gone from approx 40MB to > 400MB (This is running within VS2005, by the way - Outside VS2005 the increase is similar but the start and end figures are 25-30MB lower.) After that it is not too punchy (sometimes it seems like 0.5 seconds between a click and a button responding). I have no way to know if this is normal. It seems a pretty outrageous figure for a program with very little in the way of data structures in it. Is there any way I can step through where it is happening and see what exactly is consuming so much mem ? -- Griff Beta 2 WPF, XP SP2, VS2005 2GB Ram and 3.2 GHz main CPU, Asus EAX 300 Se Graphics adapter (trying to make an industrial UI with XAML/WPF/c#) |
My System Specs![]() |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Memory Usage... | Tjingsted | General Discussion | 2 | 02-02-2008 04:38 PM |
| Heavy memory usage with remove-item ... | BCM | PowerShell | 10 | 11-06-2007 11:11 AM |
| Memory usage over 90% | yang | Vista performance & maintenance | 7 | 07-13-2007 04:32 PM |
| Memory Usage | Smilerfive | Vista performance & maintenance | 3 | 05-06-2007 03:02 AM |
| Heavy HDD Usage at startup | Wayne | Vista General | 4 | 01-28-2007 11:21 AM |