Consultor Eletrônico



Kbase P144529: Memory leak using ProBindingSource with an UltraGrid containing BLOBs in OpenEdge 10.2A
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   4/10/2009
Status: Unverified

SYMPTOM(s):

Memory leak using ProBindingSource with an UltraGrid containing BLOBs in OpenEdge 10.2A

Executing code, scrolling around the grid or even moving the form on screen causes memory to increase

When the code is executed, the client log file fills up with the entries similar to:

4GL DYNOBJECTS Allocated LONGCHAR/MEMPTR 0xa3e79c0 size: MM8755
4GL DYNOBJECTS Allocated MEMPTR Handle:0 (WRKDIR\workspace\.metadata\.plugins\com.openedge.pdt.text\temp.dir\Run Class-MainForm-48975.p @ 8) size:MM8755

FACT(s) (Environment):

Moving the form on screen causes more MEMPTRs to be allocated
MEMPTRs have a size that matches that of the image file
Occurs whether the BLOB field contains data or not
Problem does not occur when using the .NET binding source; client log reports the MEMPTR being de-allocated:

4GL DYNOBJECTS Allocated LONGCHAR/MEMPTR 0x7914008 size: 128755 (<method> <form> @ -1)
4GL DYNOBJECTS Allocated MEMPTR Handle:0 (<method> <form> @ -1) size:128755
4GL DYNOBJECTS Deallocated MEMPTR 0x7914008 size: 128755 (<method> <form> @ -1)
OpenEdge 10.2A
Windows

CAUSE:

Bug# OE00178351

CAUSE:

MEMPTRs are allocated for every row in the viewport of the grid and never de-allocated

FIX:

Upgrade to 10.2A01