Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
Bug in will_fall( )
Oct 23, 2017, 1:35 am
By GatewaySysop
Bug in do_zap( ), do_brandish( )
Oct 18, 2017, 1:52 pm
By GatewaySysop
Bug in get_exp_worth( )
Oct 10, 2017, 1:26 am
By GatewaySysop
Bug in do_drag( )
Oct 8, 2017, 12:40 am
By GatewaySysop
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Memwatch
Author: Johan Lindh
Submitted by: Vladaar
Beastmaster 6D sound files
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl, Bing, Yandex, Google, Yahoo!, Majestic-12

Members: 0
Guests: 6
Stats
Files
Topics
Posts
Members
Newest Member
476
3,704
19,231
608
LAntorcha
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » SWFOTE FUSS » FotE Memory leaks
Forum Rules | Mark all | Recent Posts

FotE Memory leaks
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Apr 16, 2005, 9:00 am
Go to the top of the page
Go to the bottom of the page

Krylan
Fledgling
GroupMembers
Posts39
JoinedApr 14, 2005

One of the biggest problems I see with the FotE codebase are all the memleaks. The biggest of which lie in the force system. Now, I have been coding for 6 years, but I still don't have that great of an understanding of memory allocation etc. Now, I'd like to fix these memory leaks, but I'm honestly not sure where to begin. Can anyone help me out with those and all. It'd be greatly appreciated. I plan on fixing these memleaks and posting the fixes here.
Krylan
       
Post is unread #2 Apr 16, 2005, 10:31 am
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

One of the biggest helps might be to install the new STRFREE and DISPOSE macros in the general forum. I haven't added those to the FUSS packages yet because I'm not sure they're entirely safe yet. Would like to see a few more reports on that one way or the other before committing it.

If it's genuine memory leaks you're looking for, you should see if your host would be willing to install Valgrind for you and then use that to track them all down. It's going to be a painful process, but eventually you should be able to find them.
       
Post is unread #3 Apr 16, 2005, 5:35 pm
Go to the top of the page
Go to the bottom of the page

Krylan
Fledgling
GroupMembers
Posts39
JoinedApr 14, 2005

Alright, I'll install the new STRFREE and DISPOSE. My host has valgrind installed, but the biggest thing for me is understanding the output and understanding where I need to free the memory. Thanks though Samson, I must say you are on-top of things around here and I know many that appreciate the work you do for the SMAUG/SWR/SWFOTE communities.
Krylan
       
Pages:<< prev 1 next >>