Subj : Re: Properties and Objects To : Joseph Smith From : Brendan Eich Date : Sat Nov 29 2003 10:17 am Joseph Smith wrote: > I havent found any tutorial that really explains how to correctly pass > your say Leg object to your Entity object in this manner (and most of > the code i have made results in huge memory leakage, and exceptions > within the spidermonkey (obv due to my stupidity) :) Don't forget to read http://www.mozilla.org/js/spidermonkey/gctips.html -- and don't forget to call the GC (JS_GC when you know you've made garbage, JS_MaybeGC every "now and then"). /be .