Re: [rvm-research] Xmx Option in Jikes
"David P Grove" <[email protected]> Mon, 21 May 2018 13:47:23 -0400
| Newsgroups | gmane.comp.java.jikes.rvm.devel |
|---|---|
| Message-ID | <OF3CFA709E.D32F8E27-ON85258294.00617B6A-85258294.0061B8E0@notes.na.collabserv.com> |
sorry, my attempt to highlight a character got mangled by a mail server along the way. Your email said 20480M, which is around 20 gigabytes. Try 2048M instead, which is 2 gigabytes. I suspect that the heap size is being rejected as too big by some low-level part of the system and the error message you are getting is misleading. --dave From: Khaled Z Mahmoud <[email protected]> To: "General discussion of Jikes RVM design, implementation, issues, and plans" <[email protected]> Date: 05/21/2018 01:38 PM Subject: Re: [rvm-research] Xmx Option in Jikes Hi, I cannot see it defined in "rvm/src/org/jikesrvm/runtime/CommandLineArgs.java". As I understand, all "Jikes" parameters are defined and handled in there. On Mon, May 21, 2018 at 1:16 PM, David P Grove <[email protected]> wrote: Do you really mean -Xmx2048M Try -Xmx2048M --dave Inactive hide details for Khaled Z Mahmoud ---05/21/2018 01:12:37 PM---Here is the command I tried sudo ./dist/FullAdaptiveMarkKhaled Z Mahmoud ---05/21/2018 01:12:37 PM---Here is the command I tried sudo ./dist/FullAdaptiveMarkSweep_x86_64-linux/rvm "-X:perf:frequency=75 From: Khaled Z Mahmoud <[email protected]> To: "General discussion of Jikes RVM design, implementation, issues, and plans" <[email protected]> Date: 05/21/2018 01:12 PM Subject: Re: [rvm-research] Xmx Option in Jikes Here is the command I tried sudo ./dist/FullAdaptiveMarkSweep_x86_64-linux/rvm "-X:perf:frequency=7500" "-X:perf:enabled=true" "-X:perf:counters=PAPI_SR_INS,PAPI_TOT_CYC,PAPI_TOT_INS" "-X:perf:package_counters=PAPI_L3_TCM" "-X:perf:accumulate=true" "- Xmx20480M" cache_misses Error Message: vm: "-Xmx20480M" is not a recognized Jikes RVM command line argument. I also tried "-X:Xmx20480M" and "-X:Xmx=20480: and still same error message On Mon, May 21, 2018 at 6:03 AM, Erik Brangs <[email protected]> wrote: 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 _______________________________________________ Jikesrvm-researchers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers -- Regards, Khaled Mahmoud ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Jikesrvm-researchers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Jikesrvm-researchers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers -- Regards, Khaled Mahmoud ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Jikesrvm-researchers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Jikesrvm-researchers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers
graycol.gif
(image/gif, 105 B) - not displayed