Short: BugFix! V1.4d - Small prog to observe memory usage of other progs Author: Daniel `ThunderPig` Raedel Uploader: p5dara@rz.uni-jena.de Type: dev/misc Requires: OS V37+ USAGE: Run WatchMem SIZE/N,DELAY/N, where SIZE is the amount of bytes that shall be stolen every time you click on the `Steal`-Gadget (using this feature, you can test your program's reactions when it has to run under `low memory`). Clicking on `Release` will release the whole stolen memory. The SIZE may also be modified with the integer gadget in the window. DELAY is the number of 1/50 seconds the program waits until it refreshes the display and asks for messages. Default: SIZE=25000, DELAY=5. Starting from Workbench: There are four Tooltypes the program looks for: SIZE - see above DELAY - ... TOP - the top corner of the window LEFT - the left corner FEATURES: font sensitive, *very* small (5512 Bytes turbo-imploded), runs on the default public screen, supports tooltypes and CLI-args. New to V1.4c Select scrolling method for graphical display (time, (small or large) memory change); bugfix New to V1.4 Select type of mem to be stolen, optional window that shows mem graphically; bugfix FIXED BUGS: V1.4c -> V1.4d - Prog used a V39-function in the gfx-win (THX J.Granseuer!) - now clears Bevelboxes first before writing new free mem (caused some slight problems with certain fonts...) V1.4 -> V1.4c - Prog crashed when selecting `relative graphics` without an open gfx win (THX R. Mueller!) V1.3 -> V1.4 - opened win in right upper visible corner of screen if the tooltypes LEFT, RIGHT were 0 - had some problems with proportional fonts - now uses the DefaultFont V1.2 -> V1.3 - improved message handling - fell back to Delay() - but now user-configurable - killed fatal bug in selecting a public screen. ============================= Archive contents ============================= Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 13800 4727 65.7% 08-Nov-97 15:54:52 WatchMem 14868 6217 58.1% 08-Nov-97 16:09:38 WatchMem.doc 2059 475 76.9% 14-Sep-97 14:31:02 WatchMem.doc.info 902 369 59.0% 14-Sep-97 14:31:02 WatchMem.info 2184 1085 50.3% 08-Nov-97 16:03:18 WatchMem.readme 2059 474 76.9% 14-Sep-97 14:31:02 WatchMem.readme.info -------- ------- ----- --------- -------- 35872 13347 62.7% 10-Nov-97 04:05:38 6 files