Hello Community, I am probably just missing it in documentation, but, when (if ever) is non persistent data automatically erased from memory? I am thinking of using it to create temporary list for documents, but am wondering if I need to clear the data or if the system will do it and when. Thanks
Non-persistent objects are stored in memory per user session. The server will remove them when you log out (or your session expires), or of course when the server shuts down.
They are also garbage collected when they can no longer be reached from any other object that CAN be reached. This applies to persistable objects that were never committed as well.