static void printVMSize() { print("VM size: " + (Runtime.getRuntime().totalMemory()+1024*1024-1)/1024/1024 + " 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: | #1001029 |
Snippet name: | printVMSize |
Eternal ID of this version: | #1001029/1 |
Text MD5: | ab230a224cfde40894b7f8c5c849b69f |
Author: | stefan |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-09-16 17:10:19 |
Source code size: | 122 bytes / 3 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 681 / 923 |
Referenced in: | #1002427 - Accellerating 629 (SPIKE) #1006654 - Standard functions list 2 (LIVE, continuation of #761) #3000382 - Answer for ferdie (>> t = 1, f = 0) #3000383 - Answer for funkoverflow (>> t=1, f=0 okay) |