Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
C
How much memory used in function?
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
jgvicke
New Member
Join Date:
Nov 2008
Posts:
2
#1
How much memory used in function?
Nov 19 '08, 05:07 PM
I have a large bit of code that uses a lot of dynamically allocated memory in 2d and 3d arrays. Is there any easy way to see how much memory my program is actually using at runtime?
Thanks
John
RedSon
Recognized Expert
Expert
Join Date:
Jan 2007
Posts:
4980
#2
Nov 19 '08, 05:43 PM
What OS?
Comment
Post
Cancel
jgvicke
New Member
Join Date:
Nov 2008
Posts:
2
#3
Nov 19 '08, 06:25 PM
I am running Windows XP SP3. All of my code is in C, and I need to aviod C++ if at all possible.
Comment
Post
Cancel
RedSon
Recognized Expert
Expert
Join Date:
Jan 2007
Posts:
4980
#4
Nov 19 '08, 07:47 PM
Originally posted by
jgvicke
I am running Windows XP SP3. All of my code is in C, and I need to aviod C++ if at all possible.
You can try using process explorer to see what your application is up to, check out this link...
Process Explorer - Sysinternals
http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
Find out what files, registry keys and other objects processes have open, which DLLs they have loaded, and more.
Comment
Post
Cancel
weaknessforcats
Recognized Expert
Expert
Join Date:
Mar 2007
Posts:
9214
#5
Nov 19 '08, 10:04 PM
Don't overlook Task Manager.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment