Consultor Eletrônico



Kbase P100585: Calling CLEAR method on an INPUT DATASET-HANDLE causes buffers to be left in memory after program re
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   28/01/2005
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.x

SYMPTOM(s):

.Net client calls 4GL program on the AppServer

.Net client passes an input dataset-handle to the 4GL program

After AppServer returns to .Net client the buffers that refer to the temp-tables within the dataset-handle still exist in the AppServers memory

CAUSE:

The 4GL program called the CLEAR method on the input dataset-handle before issuing a delete object. The CLEAR method clears the dataset back to an empty state (as if it was just created with the CREATE DATASET statement), however, it does not delete any of the dynamic objects that were used by the dataset as the 4GL has no idea if those objects are still in use anywhere.

FIX:

Modify the 4GL application and remove the line of code that calls the CLEAR method.