The Sun WorkShop Memory Monitor provides facilities to automatically report and fix memory leaks, memory fragmentation, and premature frees. It has three modes of operation:
Debugging
Deployment
Garbage collection
These modes are dependent on the library you link your application with.
The components of the Sun WorkShop Memory Monitor are:
libgc--the library used in garbage collection and deployment modes
libgc_dbg--the library used in memory debugging mode
gcmonitor--the daemon used in memory debugging mode
For complete documentation on the Sun WorkShop Memory Monitor, see /install-directory/SUNWspro/SC5.0/htmldocs/locale/C/gc/index.html, where the default install-directory is /opt.
Man pages for the Sun WorkShop Memory Monitor are located in:
install-directory/SUNWspro/man/man1
install-directory/SUNWspro/man/man3
where the default install-directory is /opt.