Thank you. It is really interesting and at the same time kindof mind boggling. It's a whole different level of design than a simple multi-user web-app going against a database.
I miss-stated that the session lives forever. That is incorrect, the session is created and destroyed per transaction. The SessionFactory lives forever.
It's to the point where I'll probably have to put a profiler on the running apps and see where all that memory is allocated.
KPixel wrote:
Hi,
Your system looks really interesting :wink:
What's the purpose of the "session that is alive for the duration of program run (forever)."?
Sessions should be short-living... (read the long post in the Windows Form section)
This session might consume a lot of memory because its cache will progressivly grow...
And I don't see the memory leak problem.