Here’s a fun one. The following command:
java -Xmx2g Test
works fine when run from the command-line, but not when run from within a make recipe. It errors out with the following message:
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Ostello: Gee, Cabbott, I uh… I just heard what happened, and that’s terrible.
Cabbott: Yes. Judy took the news particularly badly. She loved that cat.
Ostello: Don’t worry pal, we rounded up all the witches in the area, and they’re all lined up here. Go ahead and see if you can pick her out.
[Window lights up. Cabbott looks for a moment.]
Cabbott: Alright. I’m sure Witch One killed my cat.