Description

The PowerBuilder Resource Monitor (PBRESMON) is an external utility designed to help PowerBuilder determine whether there are sufficient USER/GDI resources available in the operating system. Sufficient USER/GDI resources are important in ensuring successful opening and operation of PowerBuilder painters. Low USER/GDI resources usually cause system problems, such as crashes or General Protection Faults. PBRESMON was introduced in PowerBuilder 8.0.2.

Usage

PBRESMON can be started automatically by PowerBuilder (by setting a value in PB.INI) or it can be started manually. However, only one instance of PBRESMON runs at all times. That is, you can double-click a PBRESMON icon multiple times but only one copy of PBRESMON runs.

PBRESMON is a tray icon application. At runtime, its icon appears on the Windows system tray (where the system clock resides). Whenever a PowerBuilder user decides to open a new painter, PowerBuilder interacts with PBRESMON to inquire about the availability of USER/GDI resources. PBRESMON responds and indicates to PowerBuilder whether there are currently sufficient USER/GDI resources available in the system. If PBRESMON indicates that there are sufficient resources, PowerBuilder opens the requested painter. Otherwise, an error message indicating low resources displays.