Starting a JVM like below will start it with 256MB of memory, and will allow the process to use up to 2048MB of memory:
java -Xmx2048m -Xms256m
More about...memory management
Clint
Forum
Question Authors' Forum
Java: Error occurred during initialization of VM
This forum has a limit to the number of forum postings you can make in a given time period - this is currently set at 5 posting(s) in 1 day