I have an application which processes large XML files that is very memory-intensive. In order to get the app to run, I've been tweaking the -Xmx and -Xms options that I pass to javaw.exe. I've found that any value greater than -Xmx1500M causes the JVM launcher to spit an error at me reading "Could not create the Java virtual machine". Is there a way I can continue to increase the maximum heap size? Is there some sort of hard-coded limit that I'm hitting?

The machine I'm using for this is running Windows 7 64-bit and has 24GB of RAM, so I'm confused as to why I can't allocate more memory to the heap.

Thanks in advance!