- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I have a question: it's possible to know how much memory my program allocated?
(I have a big program with the memory allocation done in many subroutines and I would like to know how much memory I allocated before to do a new memory allocation).
Thanks, pierangelo
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Win32 Process Status API (PSAPI) can provide this information, though it may not tell you how much more memory you can allocate. See the Win32>ProcessStatus sample for code that displays memory usage information for processes.

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