Re: [rvm-research] Xmx Option in Jikes

Erik Brangs <[email protected]> Mon, 21 May 2018 12:03:46 +0200
Newsgroups gmane.comp.java.jikes.rvm.devel
Message-ID <[email protected]>
Hi,

On 21.05.2018 09:10, Khaled Z Mahmoud wrote:
> How can I pass Xmx option to Jikes.
> In normal Java runtime, it would be something like java HelloWorld -Xmx2048M.

The order is wrong. It should read "java -Xmx2048M HelloWorld". If you use "java HelloWorld -Xmx2048M", you'll pass the argument "-Xmx2048M" to the HelloWorld program which isn't what you want.

> However, Jikes does not recognize this option :(.

What's the error message you're getting?


Kind regards,

Erik Brangs

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot