Skip to Content
0
Former Member
Dec 08, 2009 at 01:15 PM

Missing Garbage Collection of Objects in Stateful Application

25 Views

Hello,

we are currently developing an stateful ABAP BSP Application. During runtime a lot of Objects are created and referenced.

The Problem is that the objects are not cleaned up by the garbage collector at any time. Only if the session is terminated, the objects get cleaned up and the corresponding memory is released.

I have to mention that no Object Reference is hold within a page attribute of BSP.

Furthermore no Object Reference is declared static.

In my Opinion this should lead to immediate release of the objects after the "work-context" (e.g. the declaring method) is lost.

But if i do some memory snapshots and analyize them with the Memory Inspector i see hundreds of unreleased objects.

Do someone have any hints?

Thanks in advance

Florian Koch