Libraryless. Click here for Pure Java version (6354L/44K).
!7 sclass ProcessResidentSize extends DynBigNumber { void start { super.start(); setDescription("OS SIZE IN MEMORY"); ownTimer(doEveryAndNow(30000, r actualUpdate)); } void actualUpdate { setValue(toM(getProcessSize()) + " MB"); } JComponent visualize() { ret setToolTipText("Process ID: " + getProcessID(), componentPopupMenuItem(super.visualize(), "Garbage Collect", r { dm_gc(); actualUpdate(); })); } }
Began life as a copy of #1015915
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: | #1016410 |
Snippet name: | OS Size In Memory Without OSHI [Dyn Module] |
Eternal ID of this version: | #1016410/3 |
Text MD5: | 8cf4a30642eed05a6b03a953fbb37442 |
Transpilation MD5: | 54f48b533d1dfada88111efffe7730d4 |
Author: | stefan |
Category: | javax / modules |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-19 14:00:41 |
Source code size: | 468 bytes / 18 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 315 / 9261 |
Version history: | 2 change(s) |
Referenced in: | [show references] |