[plt-scheme] Memory management and MzScheme

From: Pedro Pinto (ppinto at cs.cmu.edu)
Date: Sun Nov 24 09:53:57 EST 2002

Thanks Ron. Like Anton said I do not think that is the problem but I was not
aware of this behavior - that info might prove useful in the future.


> Are you loading into DrScheme or MrEd, and not just MzScheme?
> Could it be that C++ is new'ing space for v?  If so, that might
> be your problem, because MrEd replaces the new operator so that
> its C++ objects are garbage collected.  Eventually, your C++ objects
> will get garbage-collected too!  That was our experience in linux.
> We linked our C++ extension with a copy of new/delete that uses
> malloc/free, so it wouldn't get linked at loadtime with MrEd's new/delete.

Posted on the users mailing list.