repeated use of new JitterMatrix() in an mxj external seems to cause max's memory use to grow boundlessly.
i don't know much about garbage collection etc. but this doesn't look right to me.
if i start max and open e.g. one of the jitter-java examples that processes an incoming matrix (like javajitterfirsttest.maxpat or jitfeedback-example.maxpat), max uses something like 70 mb. after running this patch for an hour this value has grown to about 560 mb.
the problem seems to be with "new JitterMatrix()" as i see the same memory growth with the simple example code at the bottom.
intel mbp, osx 10.5.7, max 5.0.8
public class matrixTest extends MaxObject
public void jit_matrix(String inname)
JitterMatrix mat = new JitterMatrix(inname);
outlet(0, "jit_matrix", inname);