Kbase P18106: What are the key Principles for dynamic programming?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  28/11/2007 |
|
Status: Unverified
GOAL:
What are the key Principles for dynamic programming?
FACT(s) (Environment):
Progress 9.1x
OpenEdge 10
FIX:
Key Principles for dynamic programming.
Dynamic Widgets, Buffers, Queries:
DELETE OBJECT hObject.
Persistent Procedures:
DELETE PROCEDURE hProc/THIS-PROCEDURE
APPLY "CLOSE".
Memory Pointers:
SET-SIZE() = 0.
ActiveX:
RELEASE OBJECT chHandle.
Keeping the Interactions Small.
The longer the interaction, the more time for a memory leak. Keep interactions atomic.
CREATE OBJECT.
Do something with the object.
DELETE OBJECT.
Make sure procedure delete all objects that belong to them.