!7 sclass ProcessResidentSize extends DynBigNumber { void start { super.start(); setDescription("OS SIZE IN MEMORY"); ownTimer(doEveryAndNow(10000, r actualUpdate)); } void actualUpdate { setValue(toM(oshi_currentProcessResidentSize()) + " MB"); } JComponent visualize() { ret componentPopupMenuItem(super.visualize(), "Garbage Collect", r { gc(); actualUpdate(); }); } }