Kbase P141587: TRANSACTION-MODE AUTOMATIC statement used on AppServer causes references to static properties on sin
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  08/09/2009 |
|
Status: Unverified
SYMPTOM(s):
TRANSACTION-MODE AUTOMATIC statement used on AppServer
Client calls many programs on AppServer while TRANSACTION-MODE AUTOMATIC transaction is active
Programs reference public static property of singleton class
While transaction is active memory usage will increase
Once transaction is ended memory usage goes back to normal
FACT(s) (Environment):
The same code run without an active transaction via TRANSACTION-MODE AUTOMATIC does not cause memory to increase
OpenEdge 10.2A
All Supported Operating Systems
CAUSE:
Bug# OE00181344
CAUSE:
When a reference is made to a static property of a singleton class an implicit instance variable is created as an UNDO variable. Because the implicit instance variable is an UNDO variable it is added to our BI processing and if enough references are made to it while a transaction is active (i.e. program is called thousands of times) eventually memory usage for all of these instances which must be kept around because of the active transaction will cause a memory increase.
As of OpenEdge 10.2A02, the implicit instance variable is created as NO-UNDO instead of UNDO .
FIX:
Upgrade to OpenEdge 10.2A02.