Possibly, but to do so, you'd need to know where that memory is--i.e., what variables are holding it. Then you could clear the data. Perhaps simply deleting and rebuilding $svm may be enough to clear the memory for you. But without knowing what the subroutine is doing, I couldn't offer you more help than that.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
In reply to Re: memory usage keeps on growing
by roboticus
in thread memory usage keeps on growing
by othane
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |