apposed / jaunch

Launch Programs 𝙔𝙤𝙪𝙧 Way! 🍔
The Unlicense
6 stars 2 forks source link

Squash multiple memory options #7

Open ctrueden opened 4 months ago

ctrueden commented 4 months ago

The ImageJ Launcher keeps only the last memory option for the -Xm* flags.

 * If passing -Xmx=99999999g -Xmx=37m to Java, the former still triggers an
 * error. So let's keep only the last, so that the command line can override
 * invalid settings in jvm.cfg.

Should Jaunch do this?