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

18
LINES

< > BotCompany Repo | #1016598 // Free System Memory [Dyn Module]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 5404K of libraries. Click here for Pure Java version (14461L/99K).

!7

sclass FreeSystemMemory extends DynBigNumber {
  bool inGigabytes;

  S switchableFields() { ret 'inGigabytes; }
  
  start {
    setDescription("FREE MEMORY");
    doEveryAndNow(4000, r actualUpdate);
  }
  
  void actualUpdate {
    //time "FSM" { // usually 2 - 15 ms
      setValue(str_toGBorMB(inGigabytes, freeSystemMemory()));
    //}
  }
}

Author comment

Began life as a copy of #1015915

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney

No comments. add comment

Snippet ID: #1016598
Snippet name: Free System Memory [Dyn Module]
Eternal ID of this version: #1016598/11
Text MD5: f8575b2e6d9c3e97638f78bfaf8bd312
Transpilation MD5: 4432780f8cf08f8aa6034d3b199923a5
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-12-26 01:46:31
Source code size: 364 bytes / 18 lines
Pitched / IR pitched: No / No
Views / Downloads: 368 / 58918
Version history: 10 change(s)
Referenced in: [show references]