I have a java app that loads an enormous data set into memory (don't ask - it's messy). This app runs fine in the IntelliJ debugger but gives OOM (out of memory errors) when I try to run it as a compiled .jar file.

How would I find out the params that IntelliJ is using to run it? Looking at the process list didn't reveal anything promising.