Most of the Java options already described relate to settings that control
memory allocation.
Keep in mind that there are other factors that may limit the resources available to a process and thereby constrain a process beyond the memory settings discussed.