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

8
LINES

< > BotCompany Repo | #1009115 // restartWithNativeMemoryTracking

JavaX fragment (include)

static void restartWithNativeMemoryTracking(S[] args) {
  S preferredVMArguments = "-XX:NativeMemoryTracking=summary " + smallHeapArgs();
  if (!vmArguments().contains("-XX:NativeMemoryTracking=summary")) {
    print("Restarting with Native Memory Tracking");
    directNohupJavax(programID() + " " + smartJoin(args), preferredVMArguments);
    cleanKill();
  }
}

Author comment

Began life as a copy of #1008038

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: #1009115
Snippet name: restartWithNativeMemoryTracking
Eternal ID of this version: #1009115/2
Text MD5: 86816b8217c41c21b2e5404bd44c4f6d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-07-03 01:13:11
Source code size: 370 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 436 / 493
Version history: 1 change(s)
Referenced in: [show references]