Subj : Re: Spidermonkey: JS_malloc and memory usage To : netscape.public.mozilla.jseng From : Michael Daumling Date : Thu Sep 01 2005 11:54 am Unfortunately, the engine also uses vanilla malloc/free/realloc etc. You would want to recompile the source using defines like -Dmalloc=my_malloc etc. This lets you write your own memory allocation functions. .