Description
PowerBuilder loads the libraries used by a database interface when it connects to the database. Prior to PowerBuilder 8, PowerBuilder freed the database interface libraries when it disconnected from the database. In PowerBuilder 8, PowerBuilder does not automatically free the database interface libraries when it disconnects.
While memory use is somewhat increased by this technique (since the loaded database interface libraries continue to be held in memory), this change in PowerBuilder's behavior has improved performance and eliminated problems associated with the freeing and subsequent reloading of libraries experienced by some database connections.
Usage
If you want PowerBuilder to free database interface libraries upon disconnecting from the database (as it did in earlier versions of PowerBuilder), you can change its default behavior:
|
To change the default behavior for
|
Do this
|
|
Connections in the development environment
|
Select the Free Database Driver Libraries On Disconnect checkbox on the General tab of the System Options dialog box
|
|
Runtime connections
|
Set the FreeDBLibraries property of the Application object to TRUE on the General tab of the Properties view in the Application painter or in a script
|
|
EAServer components This behavior cannot be controlled when components are deployed to EAServer.
|