How can I apply all the switches that you're refering to in your replies when I don't develope appz? I assume that the switches can be applied to "appletviewer"?
Yes, exactly. Appletviewer lets you do what you need.
BTW - I ran JProfiler on my game and looked at the heap usage -- Is it normal to have a triangular wave of mem.usage? Ideally, I'd like a constant line (after initialization is completed) but I don't...
This can happen. Particularly if you generate garbage objects quickly. As pointed out above, the GC will do a full collection when it is forced to because the heap is full. That would be the point where your triangle wave drops down. Then the heap fills up again as you generate more garbage and the cycle happens all over again...
If you generate garbage slower it might only affect the slope of those triangles, but if you have some natural pauses (sleeps) and the GC can take advantage of them you might fins that the GC runs more frequently doing smaller chunks of work. In general you will never get a flat line unless you aren't generating any new garbage - Something you should try to minimize in an action game. GC - based systems will always have some amount of triangle wave in the available heap measurement, but the more the GC runs the lower the ripple will be.