Bram: Is there anyway to check your memory usage?
Look at the variables you've declared and count the bytes.