Re: memory checking
"ReJ" <[email protected]>
| Newsgroups | gmane.games.devel.general |
|---|---|
| Message-ID | <008701c4052e$5e34ce50$1001a8c0@pc2> |
Hi Timo,
be aware of new and delete redefinition in Paul Nettle's Memory Manager:
mmgr.h
#define new (m_setOwner (__FILE__,__LINE__,__FUNCTION__),false) ? NULL : new
#define delete (m_setOwner (__FILE__,__LINE__,__FUNCTION__),false) ?
m_setOwner("",0,"") : delete
This may cause problems if you are defining your new/delete operators or
using libraries like std or boost.
There are some solutions discussed in thread topic, however it's not always
possible.
ReJ aka Renaldas Zioma
www.nesnausk.org
----- Original Message -----
From: "Timo Heister" <[email protected]>
To: "Brett Bibby" <[email protected]>
Sent: Friday, March 05, 2004 9:25 AM
Subject: Re: [GD-General] memory checking
> Hi Brett,
>
> what about Paul Nettle's free Memory Manager:
>
http://www.flipcode.com/cgi-bin/msg.cgi?showThread=12September2000-Presentin
gAMemoryManager&forum=askmid&id=-1
>
> it is:
> - free
> - simple to use (just put in the files into your project and include
> the header in all your files)
>
> Timo
>
> Brett wrote:
>
> > I recently ran into a serious memory bug I just can't track down and it
seems it's time to get some sort of memory debugging tool. Ideally it would
be available for Win32, PS2 and GameCube and work
> > with CodeWarrior, but just Windows would be acceptable. The only tools
I can find so far are BoundsChecker and Purify, but neither looks like it
will work with our CodeWarrior setup. I also tried
> > just using the crtdbg funcitons, but getting the MS libs into
CodeWarrior is proving problematic.
>
> > Does anybody know of any commercial product that might be useful? Are
there any standalone memory checkers out there? Anybody using BoundsChecker
that can comment on whether you must have Visual
> > Studio or not?
>
> > Thanks,
> > Brett
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Gamedevlists-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gamedevlists-general
> Archives:
> http://sourceforge.net/mailarchive/forum.php?forum_id=557
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Gamedevlists-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-general
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_id=557