Determining System Requirements for A Java Game

I’m considering determining the system requirements for a game I’m working on after it’s done.

I can determine the amount of memory in use with:

Runtime runtime = Runtime.getRuntime();
int memoryInUse = runtime.getTotalMemory() - runtime.getFreeMemory();

Presumably, I’ll be able to track memory usage as the program runs to determine how much memory is required. The only pitfall is that some of my code deallocates memory only when necessary so that it can reuse old resources. I should, however, be able to fix this simply by deallocating all the memory when I load a new map for the time period during which I’m determining system requirements.

But how do I determine the processor speed required to run the program? I don’t have access to a bunch of different computers of varying speeds.

You could post it in games showcase, I’ve found people here more than willing to try games and report problems/performance along with their machine specs/platforms.

Kev

That’s an idea. I’ll hurry to finish the game and then post it there.