Re: [hibernate-dev] SingleTableEntityPersister memory footprint in 5.3

2018-05-07 Thread Guillaume Smet
Hi Andrej, On Sun, May 6, 2018 at 11:03 PM, Andrej Golovnin wrote: > > So, I analyzed the dumps yesterday evening. The problem is real, meaning > > his SessionFactory is consuming more than 1GB of memory for 600+ tables, > > some with a lot of attributes. So for sure, the model is a big one, … >

Re: [hibernate-dev] SingleTableEntityPersister memory footprint in 5.3

2018-05-07 Thread Andrej Golovnin
Hi Guillaume, > It's not only the number of tables but also the number of columns per table. > The table I take as an example in my tests has 200+ columns, which > definitely doesn't help. I have also a lot of tables with high number of columns. The biggest one has 254 columns. So what? > > If w

Re: [hibernate-dev] SingleTableEntityPersister memory footprint in 5.3

2018-05-07 Thread Guillaume Smet
On Mon, May 7, 2018 at 2:52 PM, Andrej Golovnin wrote: > > It's not only the number of tables but also the number of columns per > table. > > The table I take as an example in my tests has 200+ columns, which > > definitely doesn't help. > > I have also a lot of tables with high number of columns

Re: [hibernate-dev] SingleTableEntityPersister memory footprint in 5.3

2018-05-07 Thread Andrej Golovnin
Hi Guillaume, >> > It's not only the number of tables but also the number of columns per >> > table. >> > The table I take as an example in my tests has 200+ columns, which >> > definitely doesn't help. >> >> I have also a lot of tables with high number of columns. The biggest >> one has 254 colum