I'm investigating memory leaks within our application and set up a small test app to narrow them down.
When I grab data using the PeristenceManager I can see the increase in memory use equivelant to the amount of data retrived. However when I clear those entities from the cache, the memory does not decrease. If the entities are grabbed again, the memory is increased by the same amount. If I continue this loop I can blowout memory use to the point where the application fails.
I have two questions.
I clear the cache using QueryCache.Clear() and DataSet.Clear() ... Is this the correct way to do so?
and if this is the correct way, then it appears there is a memory leak within Ideablade. If a query increased memory use by 50mb (example only) and I then clear that cache, that 50mb is not released. Grabbing that data again increases memory use by another 50mb (100mb in total).
Cheers,
Paul Twomey
MEX