Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

11
LINES

< > BotCompany Repo | #1014607 // Set Global JavaX Option: Max Heap 256 MB

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (5003L/31K/110K).

!7

p {
  S s = javaxDefaultVMArgs();
  print("Default VM Args: " + quote(s));
  S fix = "-Xmx256m";
  if (!contains(s, fix))
    setDefaultVMArgs(s + " " + fix);
  else
    print("Keeping.");
}

Author comment

Began life as a copy of #1006272

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1014607
Snippet name: Set Global JavaX Option: Max Heap 256 MB
Eternal ID of this version: #1014607/1
Text MD5: 03f9e21a63c681414d2809f402bdd7ef
Transpilation MD5: ebefb87d82ad9858fe233be2d546e0da
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-26 17:00:50
Source code size: 204 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 285 / 342
Referenced in: [show references]