NPE object not getting removed

0
Hello I have a situation where I have an NPE (Non Persistent Entitiy object) associated with the current user and I don't understand the behaviour where the object is kept for too long in memory and it's not cleared. Anyone any idea?
asked
1 answers
1

Hello,

I can't answer concretely because I don't see your particular situation but there is some documented behaviour in the mendix docs related to your description

When data is associated to the current user or current session, it cannot be automatically garbage-collected. As such, this data will be sent with every request to the server and returned by the responses of those requests. Therefore, associating entity instances with the current user and current session should be done when no other solutions are possible to retain this temporary data.



I think the documentation is particulary clear on this aspect.

Let me know if this helps!

answered