On Thu, 24 Jan 2002, Strahan, Gregory N wrote: > Inline_Stack_Push(newSViv(idat1)); > Inline_Stack_Push(newSVnv(ndat1));
Try this: Inline_Stack_Push(sv_2mortal(newSViv(idat1))); Inline_Stack_Push(sv_2mortal(newSVnv(ndat1))); After that change your script runs in constant memory on my system. Inline::C luminaries: is this fix right? If so, shouldn't there be some mention of it in the cookbook? All our current examples are pushing non-mortal SVs onto the stack. In fact, there's no mention of mortality in any of the Inline::C docs at all... -sam
