Subj : Re: JS_ARENAMETER To : Stephen Jones From : Brendan Eich Date : Tue Aug 19 2003 11:54 pm Stephen Jones wrote: >I've uncovered what appears to be a consistent memnory leak in >JS_GetStringBytes. I looked at the archives for this list and saw similar >reports, but they weren't calling JS_ShutDown and I am. When I switched from >JS_GetStringBytes to JS_GetStringChars, the leak went away. > What version of the engine sources are you using? >I'm still hemoragging memory somewhere in SpiderMonkey, but not as bad as >before. Does anyone have any suggestions on where to look? > When do you run the GC? When you think you leak via JS_GetStringBytes, do you see the GC collect the string associated via the deflated_string_cache with the bytes? /be .