Correct syntax for Java Heap size
Hi,
Recently we had java OutOfMemory issue in one of 'XML Publisher Report Bursting program' request. The Options field in Program definition was set as '-mx500M'. We changed it to '-mx2048M'. However after this change issue was still exist. Then we changed the syntax of value as '-Xmx2048m'. With this new syntax program got completed successfully.
While checking in Production application i found some of the programs options value was starting with '-mx..' and some of them were with '-Xmx....'. My question is having option value as '-mx...' is wrong ? If yes how this value got set with wrong syntax ?