- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does anyone have a nifty small routine that helps one monitor the memory usage of a running program?
Is there one in the samples?
Is there one in the samples?
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Look at the Win32\ProcessStatus sample.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You could also look at the free Process Explorer from www.sysinternals.comwhich gives you a whole host of info. For example "Working Set", "Virtual Size" I/O reads and writes etc.
I find it useful when debugging for, among other things,showing which files are currently open.
Les
I find it useful when debugging for, among other things,showing which files are currently open.
Les
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I agree with Les - I find Process Explorer invaluable. But sometimes it can be handy to report the usage at specific points in the program. This won't really tell you exactly how much virtual memory is in use by the application, as the libraries will pre-allocate large chunks for their memory pools.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting lklawrie
Does anyone have a nifty small routine that helps one monitor the memory usage of a running program?
...
...
In case of a Windows platform what about a Task Manager or aResource Monitor?
Botheasilyallow to monitor:
- Memory Usage
- Memory Usage Delta
- Peak Memory Usage
- Virtual Memory Size
for a system andapplications.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page