Borland Developer Network

Borland JBuilder Partner CD

JBuilder

Exclusive

JB Memory Monitor

Personal, Standard, Pro, Enterprise

JB Memory Monitor (ID #22191)


KyrSoft

Copyright © 2001-2004, by KyrSoft

OVERVIEW

The Memory Monitor OpenTool is an add-on module for the Borland JBuilder IDE, which offers:

- the continiously dynamic inspection of the JBuilder IDE's memory consumption

- the automatic and forced execution of garbage collection for the JBuilder IDE

- the popup of a setable warn memory indication message for the JBuilder IDE

- the individual settup of the Memory Monitors sampling rate

- the logging of the actually used heap Memory to the JBuilder message view or standard output

- to startup automatically when JBuilder launches

- to customize it's options and used colors

The Memory Monitor offers four different build in method show up representations:

- a Memory Monitor in it's own always stay on top dialog window

- a Memory Monitor in a frame window which can be covered or hidden

- a Memory Monitor which shows up the in JBuilder's message view

- and finally a status view Memory Monitor

Thus you always have the choice to select and use the one you prefer, or to switch to another representation via the Tools|Preferences... Memory Monitor option tab pane.

INSTALLATION AND USAGE

IMPORTANT NOTE: don't use this Memory Monitor together with the separate standalone Status Memory Monitor, they will conflict. Further it's not needed to use the seperate Status Memory Monitor together with this Memory Monitor version, since this Memory Monitor is it's big brother which already has it build in!

In order to install the Memory Monitor, first delete any previous versions from your /lib/ext directory and also delete any previous memmon.properties files from your %USERPROFILE%/.jbuilderX/ directory. Under Windows you can delete any previous Memory Monitor version properties file this way from a DOS shell:

del "%USERPROFILE%/.jbuilderX/memmon.*"

Alternatively you can also edit and use the distributions supplied deloldprops_jbX.bat file for this task.

Now to install this distribution's Memory Monitor, copy it's JAR file into the OpenTools related directory under your JBuilder installation directory.

In the following table, refers to the root directory of the JBuilder installation.

-------------+-------------------
File to copy | Target directory
-------------+-------------------
jbmemmon.jar | /lib/ext
-------------+-------------------

After copying the Memory Monitor jar file to it's location, you must restart JBuilder! Now there are several ways available to start the Memory Monitor:

- you can press it'sicon button from the far right side of the JBuilder toolbar.

- instead you can also select the Tools|Memory Monitor... menu entry to start the memory monitor.

- and finally, you can access the memory monitor also from the project views top node context menu.

All of the above shown invocation methods should start one of the following Memory Monitor views, depending on which one you have setup or selected under the Tools|Preferences... Memory Monitor tab pane.

UNINSTALL

To uninstall the Memory Monitor just delete the JAR file from your JBuilder OpenTools installation directory. Then restart JBuilder.

DOCUMENTATION

The Memory Monitor documentation is available from the JBuilder Tools|Preferences... properties page, by pressing the Help button on the Memory Monitor tab. To read the documentation without running JBuilder, you may extract the documentation from inside of the jbmemmon.jar archive file.

If you choose to extract the documentation (this is not necessary), you will probably want to create a separate directory for these files. Assuming that you have the distribution files unpacked into the current directory, you could use the following commands:

jar xvf jbmemmon.jar doc

When you have done this, open the file memmon.html from inside the doc directory by using your favorite web browser.

COMPATIBILITY

The Memory Monitor OpenTool has been tested with versions of JBuilder 2005 Enterprise and the JDK 1.4.2 running under Windows 2000 SP4. This version might not work with earlier JBuilder versions.

Copyright © 2001-2004, by KyrSoft

Install JB Memory Monitor

JB Memory Monitor home page