BOL_DISPCALLS

With the environment variable BOL_DISPCALLS it is possible to specify the number of Business Object (BOD/BDE) invocations after which the processing must be refreshed. Refresh is done by closing the subprocess when the specified number of calls has been reached. The next call will create a new subprocess. If the environment variable BOL_DISPCALLS is not set, then refresh is done after 1000 calls (for BODs) or no refresh is done at all (for BDEs), in the latter no subprocess is created and processing is done in the main process.

The reason behind BOL_DISPCALLS is that implementations of Business Objects can leak memory. After a refresh, the memory is released