I've commented out the transmit line and the memory is very stable, so its something related to this line.
Comm.transmit("hi", null, listen);
class CommListener extends Comm.ConnectionListener{
function initialize(callback) {
System.println("Transmit Initialize");
}
function onComplete(){
System.println("Transmit Complete");
blocked = false;
}
function onError(){
System.println("Transmit Failed");
blocked = false;
}
}