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

6
LINES

< > BotCompany Repo | #1015965 // Print process size after JavaX start using OSHI

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

Download Jar. Uses 8038K of libraries. Click here for Pure Java version (1154L/7K).

!7

p {
  gc();
  print("Process size: " + formatDouble(toM_double(oshi_currentProcessResidentSize()), 1) + " MB");
}

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: #1015965
Snippet name: Print process size after JavaX start using OSHI
Eternal ID of this version: #1015965/3
Text MD5: ff71be45661211a84842c57a877f8dd0
Transpilation MD5: 71e0fd2555cbe4eebdb1993ed4c06968
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-02 02:44:44
Source code size: 122 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 322 / 741
Version history: 2 change(s)
Referenced in: [show references]