Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ SMAUG coding
➜ Question on Valgrind Flag
|
Question on Valgrind Flag
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Gatz
(17 posts) Bio
|
| Date
| Sun 21 Aug 2005 04:10 AM (UTC) |
| Message
| | So I have been trying to get the hang of Valgrind for awhile and been bugged by the fact that when I do shutdown my MUD the spam of "reachable" information totally fills up the screen and removes all my "lost" data information. So I turned off the reachable flag and now I can see the lost stuff easier however my question is this: is it truly helpful to see what is still reachable? I've seen it recommended to put it on there. So, I figure it must be good to use but I can't figure out why exactly you'd need what is still good. It seems almost like the opposite of what you want to know. |
Owner of NarutoMUD, a fun and fast paced Naruto MUD!
Check it out at: http://narutofor.us/ today! | | Top |
|
| Posted by
| David Haley
USA (3,881 posts) Bio
|
| Date
| Reply #1 on Sun 21 Aug 2005 08:18 AM (UTC) |
| Message
| It's considered somewhat good form to cleanly remote all your memory. It increases program modularity. And in general it's good to clean thing up, in case somebody comes along and e.g. adds something to your program; if the previous program didn't clean itself up it could be introducing memory leaks.
So yes, I would recommend keeping the reachable stuff visible, and work on completely freeing all memory before quitting. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | | Top |
|
| Posted by
| Samson
USA (683 posts) Bio
|
| Date
| Reply #2 on Sun 21 Aug 2005 06:55 PM (UTC) Amended on Tue 11 Mar 2008 03:32 AM (UTC) by Nick Gammon
|
| Message
| To which the following will help immensely:
http://forums.smaugfuss.org/index.php?a=topic&t=125
[EDIT - 11 March 2008] - The Smaug FUSS site is now http://www.smaugmuds.org/ | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
14,914 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top