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

8
LINES

< > TinyBrain | #1008033 - Run program with 1 GB of Java heap

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

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   

Travelled to 2 computer(s): cfunsshuasjs, tvejysmllsmz

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: 43 / 48
Referenced in: [show]