in reply to memory usage keeps on growing

othane:

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.

Replies are listed 'Best First'.
Re^2: memory usage keeps on growing
by othane (Initiate) on Dec 05, 2013 at 00:25 UTC
    Thanks, as you suggested, rebuilding $svm is the only simple solution at the moment, as ugly it is.