I just installed the last stable version of Perl (according to your suggestion) and eventually managed to get rid of the memory loss problem!
Incidentally, I also realised (thanks to the compiler) that the dSP line was superfluous as well in my do_something function.
In reply to Re^4: Bare-bones embedding and memory leakage
by polettix
in thread Bare-bones embedding and memory leakage
by polettix
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |