Re: [ANN] Apache Cayenne 4.0 final is released

2018-12-05 Thread Malcolm Edgar
Awesome news guys, my favorite Apache project. :) regards Malcolm Edgar On Sat, Dec 1, 2018 at 9:23 PM Andrus Adamchik wrote: > I only took me 3.5 month to blogging about 4.0, but I finally did it :) > > https://twitter.com/andrus_a/status/1068810303121629184 > > Andrus > > > > On Aug 20, 2018,

Re: Increasing memory leads to OOM error

2018-12-05 Thread Tony
I think the memory growth now is not related to Cayenne or Bootique. Tony Giaccone > On Dec 5, 2018, at 7:58 AM, Andrus Adamchik wrote: > > Invalidation goes all the way down from the context to the shared snapshot > cache. So maybe this is the shared cache to blame. It is only 10K snapshots

Re: Increasing memory leads to OOM error

2018-12-05 Thread Andrus Adamchik
Invalidation goes all the way down from the context to the shared snapshot cache. So maybe this is the shared cache to blame. It is only 10K snapshots max by default though, so not sure why would that be an issue (unless you increased it explicitly via 'cayenne.DataRowStore.snapshot.size' proper

Re: Increasing memory leads to OOM error

2018-12-05 Thread Tony Giaccone
In the end we invalidated all the objects we inserted and that solved the memory problem. The memory still climbs slightly but nothing like what was happening before the invalidation. There are other features that have PRs ready that are likely to cause the memory footprint to grow. But that’s