|
Class: MemoryMonitor
Object
|
+--Model
|
+--ApplicationModel
|
+--MemoryMonitor
- Package:
- stx:libtool
- Category:
- Interface-Tools-Monitors
- Version:
- rev:
1.79
date: 2021/06/02 12:16:25
- user: cg
- file: MemoryMonitor.st directory: libtool
- module: stx stc-classLibrary: libtool
MemoryMonitor application.
Shows memory usage (oldspace + newspace). Simple, but useful.
The numbers shown are:
tot total memory usage (i.e. allocated oldSpace + allocated newSpace)
(does not include the second semispace and other help-areas,
such as the remembered set etc.)
all current oldSpace in use + newSpace in use
new current newSpace in use
frl free space in (fragmented) free lists
fre compact free area above the used oldSpace
old current oldSpace in use
cod dynamic compiled code space size (just in time compiler)
max, extreme values of 'tot' since the monitor started
min (can be reset by typing 'r' in the view)
t tenure threshold (1 .. 30)
I incremental GC state (2 = idle)
weak number of weak objects
rem size of rememberedSet
minsc: percent of newspace remaining after scavenge (worst case)
(i.e. the minimum %% of scavenged objects)
count number of scavenges since system started
% percentage of live objects in newSpace after last scavenge
(i.e. this is the garbage vs. living objects ratio of
newSpace objects after the last scavenge)
the graphic shows:
orange newSpace used
green free memory in freeLists
white oldSpace used
the popupMenu offers GC functions; keyboard options are:
'f' -> faster; 's' -> slower; 'r' -> reset min/max
copyrightCOPYRIGHT (c) 1999 by eXept Software AG
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
image specs
-
defaultIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self defaultIcon inspect
ImageEditor openOnClass:self andSelector:#defaultIcon
Icon flushCachedIcons
|
interface specs
-
windowSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
Usage example(s):
UIPainter new openOnClass:MemoryMonitor andSelector:#windowSpec
MemoryMonitor new openInterface:#windowSpec
MemoryMonitor open
|
menu specs
-
mainMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
Usage example(s):
MenuEditor new openOnClass:MemoryMonitor andSelector:#mainMenu
(Menu new fromLiteralArrayEncoding:(MemoryMonitor mainMenu)) startUp
|
actions
-
collectGarbage
-
-
collectGarbageAndCompress
-
-
collectGarbageAndSymbols
-
-
compressOldSpace
-
-
forceLowSpaceCleanup
-
-
menuRescale
-
-
openDocumentation
-
Called when <F1> is pressed
-
openMemorySettings
-
-
openMemoryUsageView
-
initialization & release
-
postBuildWith: aBuilder
-
This is a hook method generated by the Browser.
It will be invoked during the initialization of your app/dialog,
after all of the visual components have been built,
but BEFORE the top window is made visible.
Add any app-specific actions here (reading files, setting up
values etc.)
|