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

8
LINES

< > BotCompany Repo | #1008033 // Run program with 1 GB of Java heap

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

Libraryless. Click here for Pure Java version (4713L/32K/105K).

!7

p {
  S a = join(" ", args);
  S vmArgs = "-Xmx1g -XX:MaxHeapFreeRatio=20 -XX:MinHeapFreeRatio=10 -XX:+UseG1GC";
  print("Running " + a + " with VM arguments " + vmArgs);
  nohupJavax(a, vmArgs);
}

Author comment

Began life as a copy of #1005388

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: #1008033
Snippet name: Run program with 1 GB of Java heap
Eternal ID of this version: #1008033/1
Text MD5: d16936de11507e49358dc996f61f77a9
Transpilation MD5: 35b201a75f67d307047c5362bebb5600
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-21 14:15:57
Source code size: 208 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 442 / 518
Referenced in: [show references]