Consultor Eletrônico



Kbase P142653: Persistent procedure run on AppServer runs slower each time it is run.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   26/03/2009
Status: Unverified

SYMPTOM(s):

Persistent procedure run on AppServer runs slower each time it is run.

AppServer process gets larger each time persistent procedure is run.

FACT(s) (Environment):

Procedure disconnects and terminates each time it is run.
Procedure is shut down with the following statement:

APPLY 'CLOSE' TO THIS-PROCEDURE.
Windows
OpenEdge 10.1B

CAUSE:

Procedure is not deleted from memory when it is terminated with "APPLY 'CLOSE'". Multiple runs of the procedure leave multiple copies in memory.

FIX:

Terminate the persistent procedure with the following statement to remove it from memory:

DELETE OBJECT THIS-PROCEDURE.