Re: Session size vs detached models

2014-02-14 Thread Martin Grigorov
Hi, On Fri, Feb 14, 2014 at 3:55 PM, Daniel Stoch daniel.st...@gmail.comwrote: Hi, In Wicket 1.4 the last page reference is hold in a session (is it in 6.x also?). So after a request has been processed all components and models Yes. A live instance of the last used page is kept in the http

Re: Session size vs detached models

2014-02-14 Thread Daniel Stoch
On Fri, Feb 14, 2014 at 4:12 PM, Martin Grigorov mgrigo...@apache.orgwrote: should be detached, so this last page reference should not hold transient LDM values. Is it true? LDM null-yfies its transien field explicitly:

Re: Session size with ModalWindow

2011-02-25 Thread Martin Grigorov
I have experienced memory problems before with Page backed ModalWindow, so I'd recommend Panel backed. About versioning see Component.setVersioned(false). On Fri, Feb 25, 2011 at 11:45 AM, Stefan Lindner lind...@visionet.dewrote: We have a modal window (not matter Panel oder Page as content)

RE: Session size with ModalWindow

2011-02-25 Thread Stefan Lindner
] Gesendet: Freitag, 25. Februar 2011 10:55 An: users@wicket.apache.org Betreff: Re: Session size with ModalWindow I have experienced memory problems before with Page backed ModalWindow, so I'd recommend Panel backed. About versioning see Component.setVersioned(false). On Fri, Feb 25, 2011 at 11

Re: Session size with ModalWindow

2011-02-25 Thread Martin Grigorov
Grigorov [mailto:mgrigo...@apache.org] Gesendet: Freitag, 25. Februar 2011 10:55 An: users@wicket.apache.org Betreff: Re: Session size with ModalWindow I have experienced memory problems before with Page backed ModalWindow, so I'd recommend Panel backed. About versioning see

RE: session size

2011-01-20 Thread Mihai Toma
! -Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Monday, January 17, 2011 5:33 PM To: users@wicket.apache.org Subject: Re: session size Okay, so you are storing *every* page in your page map in session. So, here's your next path (already partially

Re: session size

2011-01-20 Thread Jeremy Thomerson
On Thu, Jan 20, 2011 at 2:42 AM, Mihai Toma mihai.t...@asf.ro wrote: Hi guys! I resolved the problem. Here is what I was doing: - I have a page, let's say HomePage which extends WebPage. - This HomePage add a MenuPanel which extends Panel (add(new MenuPanel()). - This MenuPanel add a

Re: session size

2011-01-17 Thread Martin Grigorov
Try to find what is stored actually. Use memory analyzer tool like Eclipse one - http://www.eclipse.org/mat/ http://www.eclipse.org/mat/I expect that you store some bigger collections with your data with some of your components. On Mon, Jan 17, 2011 at 3:16 PM, Mihai Toma mihai.t...@asf.ro

Re: session size

2011-01-17 Thread Pedro Santos
Pages don't go to session by default, I executed the PageMapTest#testPagemapIsNotReferencedBySession on Wicket 1.4.8 and it is ok. I suspect you are referencing some expensive objects in an custom session. On Mon, Jan 17, 2011 at 12:16 PM, Mihai Toma mihai.t...@asf.ro wrote: Hi! I have an

Re: session size

2011-01-17 Thread Jeremy Thomerson
Are you using HttpSessionStore (this is not the default - which means you would have to explicitly set this up in your application class)? On Mon, Jan 17, 2011 at 8:41 AM, Martin Grigorov mgrigo...@apache.orgwrote: Try to find what is stored actually. Use memory analyzer tool like Eclipse one

RE: session size

2011-01-17 Thread Mihai Toma
Yes, I use HttpSessionStore. -Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Monday, January 17, 2011 5:20 PM To: users@wicket.apache.org Subject: Re: session size Are you using HttpSessionStore (this is not the default - which means you would have

Re: session size

2011-01-17 Thread Jeremy Thomerson
...@wickettraining.com] Sent: Monday, January 17, 2011 5:20 PM To: users@wicket.apache.org Subject: Re: session size Are you using HttpSessionStore (this is not the default - which means you would have to explicitly set this up in your application class)? On Mon, Jan 17, 2011 at 8:41 AM, Martin Grigorov

RE: session size

2011-01-17 Thread Mihai Toma
Thanks for your recommendations. -Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Monday, January 17, 2011 5:33 PM To: users@wicket.apache.org Subject: Re: session size Okay, so you are storing *every* page in your page map in session. So, here's your

Re: Session size is constantly increasing on setResponsePage(getPage())

2007-10-03 Thread Johan Compagner
are you talking about 1.2 or 1.3? in 1.2 a session could grow a little bit because we have there max 7 pages that all also can contain some version info. But as you said when you do setResponsePage(Page.class) everything drops to normal that means that you have to use 1.3 because then the newly

Re: Session size is constantly increasing on setResponsePage(getPage())

2007-10-03 Thread Johan Compagner
ok found it, We are leaking auto add html header containers. Looking to fix it. On 10/3/07, Johan Compagner [EMAIL PROTECTED] wrote: are you talking about 1.2 or 1.3? in 1.2 a session could grow a little bit because we have there max 7 pages that all also can contain some version info.

Re: Session size is constantly increasing on setResponsePage(getPage())

2007-10-03 Thread Martin2
Hi, thanks for the quick response. Should I open a JIRA issue for this or is it to minor to justify the overhead? bw, Martin Johan Compagner wrote: ok found it, We are leaking auto add html header containers. Looking to fix it. On 10/3/07, Johan Compagner [EMAIL PROTECTED]

Re: Session size is constantly increasing on setResponsePage(getPage())

2007-10-03 Thread Gerolf Seitz
i think johan already fixed it in trunk. gerolf On 10/3/07, Martin2 [EMAIL PROTECTED] wrote: Hi, thanks for the quick response. Should I open a JIRA issue for this or is it to minor to justify the overhead? bw, Martin Johan Compagner wrote: ok found it, We are leaking auto

Re: Session size is constantly increasing on setResponsePage(getPage())

2007-10-03 Thread Johan Compagner
jip, but open and close a jira if you want to have this in the change list.. On 10/3/07, Gerolf Seitz [EMAIL PROTECTED] wrote: i think johan already fixed it in trunk. gerolf On 10/3/07, Martin2 [EMAIL PROTECTED] wrote: Hi, thanks for the quick response. Should I open a JIRA issue

Re: Session size is constantly increasing on setResponsePage(getPage())

2007-10-03 Thread Martin2
I'm using trunk right now and the issue is resolved, the session size does not increase anymore when setting the response page. Since this was a critical one on our issue tracking, thanks for the quick fix. I opened jira https://issues.apache.org/jira/browse/WICKET-1036 WICKET-1036 and I'll