Disabling the loadobject Cache

Related Topics:

Debugging Performance Defaults

By default, the loadobject cache is enabled. If you leave Sun WorkShop up for long periods of time debugging several different programs that use different sets of shared libraries, dbx gradually accumulates symbol tables from the shared libraries that are no longer useful. This takes up swap space and causes resource problems.

For example, if you debug two applications, app_one and app_two, each with a long list of shared libraries with very little overlap you can avoid swap-space problems when you load by first turning off the loadobject cache.

To disable the loadobject cache:

1. In the Debugging Window, choose Debug Debugging Options. Or, in the Sun WorkShop main window, choose Options Debugging Options.

2. In the Debugging Options Dialog Box, click the Debugging Performance tab

3. At Enable loadobject cache, click the checkbox to disable.

4. Click OK to apply the change to the current session, or click Save as Defaults and then click OK to apply it to all sessions.

Note - This option is equivalent to the dbx
locache_enable Environment Variable.