I've been experimenting with prunsrv and have been able to get my java process to fire up as a windows service when using the "jvm" mode (couldn't get java or exe to work). I am noticing that the setting "--JvmMx" does not seem to be honored. According to the docs, it should.
> Maximum memory pool size in MB. (Not used in *exe* mode.) Either my configuration is wrong or I'm just not understanding something. Any ideas?