Download Jar. Uses 11569K of libraries. Click here for Pure Java version (5738L/40K).
1 | !7 |
2 | |
3 | p-experiment { |
4 | printJavaVersion(); |
5 | long n = 0; |
6 | NotTooOften nto = new(1000); |
7 | while licensed { |
8 | oshi_batteryLevel(); |
9 | oshi_systemMemory(); |
10 | oshi_hadDiskAccess(); |
11 | long value = oshi_currentProcessResidentSize(); |
12 | ++n; |
13 | if (nto.canDoAgain_willDoIfTrue()) |
14 | print(n + " - " + toM(value) + " MB"); |
15 | } |
16 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1016411 |
Snippet name: | Test various OSHI functions causing possible leak - LEAKS! |
Eternal ID of this version: | #1016411/8 |
Text MD5: | f13a29a305a2b3e523b2c301a8221265 |
Transpilation MD5: | 48404bee4453a2d360bde0992967ad30 |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-17 14:45:56 |
Source code size: | 346 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 348 / 1007 |
Version history: | 7 change(s) |
Referenced in: | [show references] |