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

3
LINES

< > BotCompany Repo | #1026572 // renderHeapSizeWithTotal

JavaX fragment (include)

static S renderHeapSizeWithTotal() {
  ret "Used heap: " + iceil(toM_double(usedMemory())) + "/" + iceil(toM_double(totalMemory()));
}

Author comment

Began life as a copy of #1005960

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1026572
Snippet name: renderHeapSizeWithTotal
Eternal ID of this version: #1026572/3
Text MD5: 97ad7ef48300d71dafa5f80fa3a27fc1
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-14 13:32:28
Source code size: 136 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 237 / 252
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)