Possible Duplicate:
Is it possible to dynamically change maximum java heap size?
I know there is an XMX option for the Java launcher, but is there some kind of preprocessing directive that does this instead (so that all computers that run my code will have their heap increased).
As it is right now, java.exe reaches ~280MB max only (before it crashes) – is this normal?
Yes. See this simplistic example.