cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5 Memory Leak in XML model

former_member305492
Discoverer
0 Kudos

Hello community,

we have a web app which provides current values from machine in a sap.ui.table.table.

The databinding is realized over a sap.ui.model.xml.XMLModel().

Every 2 seconds new data will be received by a sap.ui.core.ws.WebSocket from the backend.

The data are available as XML.

The new XML data will be set in the bindeed XML model for the table over the setXML() function.

Obvious we have a memory leak problem. After half an hour the memory rises over 100MB.

Does somebody have experience with this behavior regarding XML models?

In the picture below you see an abstract of the List.controller.js.

The anonymous function (line 7 to 17) will handle the messages from websocket.

The refresh of the XML model will be processed from line 23 to 54.

The used SAPUI5 version is 1.38.27.

If you need further information, let me know.

With kind regards,

Michael

Accepted Solutions (0)

Answers (0)