Session size vs detached models

2014-02-14 Thread Daniel Stoch
with SessionSizeDebugPanel, it displays session size and totalSize (by SessionTotalSizeModel). Does this totalSize includes size of object loaded by LDM or it counts all components and models size in detached state? -- Daniel

Re: Session size vs detached models

2014-02-14 Thread Martin Grigorov
() then it will be kept alive in the http session. When we are using DebugBar with SessionSizeDebugPanel, it displays session size and totalSize (by SessionTotalSizeModel). Does this totalSize includes size of object loaded by LDM or it counts all components and models size in detached state? I have to check

Re: Session size vs detached models

2014-02-14 Thread Daniel Stoch
with SessionSizeDebugPanel, it displays session size and totalSize (by SessionTotalSizeModel). Does this totalSize includes size of object loaded by LDM or it counts all components and models size in detached state? I have to check what is th difference between size and totalSize, but since https

Re: Increasing session size

2012-10-08 Thread Martijn Dashorst
is not required. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DataView-and-increasing-session-size-tp1876757p4652739.html Sent from the Users forum mailing list archive at Nabble.com

Re: Determine session size for Wicket 1.5

2012-07-17 Thread Jochen Mader
Get a heapdump, use yourkit/visualvm. On Mon, Jul 16, 2012 at 11:14 AM, Ian Marshall ianmarshall...@gmail.com wrote: I don't think that I am getting the session size in the right place. Despite my session sizes being logged as very small at ~1.7kB using the Google App Engine (GAE) web

Re: Determine session size for Wicket 1.5

2012-07-17 Thread Ian Marshall
Thanks for the tip, Jochen. I'm already doing that now, using Oracle's Java VisualVM Jochen Mader wrote Get a heapdump, use yourkit/visualvm. On Mon, Jul 16, 2012 at 11:14 AM, Ian Marshall lt;IanMarshall.UK@gt; wrote: I don't think that I am getting the session size in the right

Re: Determine session size for Wicket 1.5

2012-07-16 Thread Ian Marshall
I don't think that I am getting the session size in the right place. Despite my session sizes being logged as very small at ~1.7kB using the Google App Engine (GAE) web development server, in GAE production I am getting session sizes approaching 1MB (and attempting to breach this GAE-imposed limit

Re: Determine session size for Wicket 1.5

2012-07-13 Thread Ian Marshall
Hello, Is there a good way to discover my serialised or about-to-be-serialised session size without adding the debug bar to my page? I currently use @Override protected void onAfterRender() { super.onAfterRender(); CloudSession ssnSession = (CloudSession)getSession(); long

Re: Determine session size for Wicket 1.5

2012-07-13 Thread Martin Grigorov
Override Session#onDetach() and do it before calling super.onDetach(). On Fri, Jul 13, 2012 at 2:01 PM, Ian Marshall ianmarshall...@gmail.com wrote: Hello, Is there a good way to discover my serialised or about-to-be-serialised session size without adding the debug bar to my page? I

Re: Determine session size for Wicket 1.5

2012-07-13 Thread Ian Marshall
Thanks Martin, I could not find onDetach() but found detach() so I have done this in my WebSession subclass: @Override public void detach() { long loSize = getSizeInBytes(); m_logger.log(Level.FINE, String.format(Session size = %,dB., loSize)); super.detach(); } This seems

Re: Determine session size for Wicket 1.5

2012-06-24 Thread Walter Rugora
Thanks Jeremy, works great!!! On 23/06/12 23:23, Jeremy Thomerson wrote: On Fri, Jun 22, 2012 at 11:28 PM, Walter Rugora m...@sudus.eu wrote: Hi, when I apply the Wicket 1.3 way to determine session size, RequestCycle.get().getSession().getSizeInBytes() it results in an around 3000bytes

Re: Determine session size for Wicket 1.5

2012-06-23 Thread Jeremy Thomerson
On Fri, Jun 22, 2012 at 11:28 PM, Walter Rugora m...@sudus.eu wrote: Hi, when I apply the Wicket 1.3 way to determine session size, RequestCycle.get().getSession().getSizeInBytes() it results in an around 3000bytes value in my case. And adding or removing Labels changed the session size

Re: Determine session size for Wicket 1.5

2012-06-22 Thread Walter Rugora
Hi, when I apply the Wicket 1.3 way to determine session size, RequestCycle.get().getSession().getSizeInBytes() it results in an around 3000bytes value in my case. And adding or removing Labels changed the session size. Now with Wicket 1.5 using Session.get().getSizeInBytes() session size

Determine session size for Wicket 1.5

2012-06-19 Thread Walter Rugora
Hi there, for Wicket 1.3 I determine session size like this: RequestCycle.get().getSession().getSizeInBytes() But the RequestCycle underwent some changes and I cannot figure out how to do it for Wicket 1.5? Appreciate your help! Walter

Re: Determine session size for Wicket 1.5

2012-06-19 Thread Martin Grigorov
session size like this: RequestCycle.get().getSession().getSizeInBytes() But the RequestCycle underwent some changes and I cannot figure out how to do it for Wicket 1.5? Appreciate your help! Walter - To unsubscribe, e-mail

Re: Determine session size for Wicket 1.5

2012-06-19 Thread Thomas Götz
Session.get().getSizeInBytes(); -Tom On 19.06.2012 at 13:03 Walter Rugora wrote: Hi there, for Wicket 1.3 I determine session size like this: RequestCycle.get().getSession().getSizeInBytes() But the RequestCycle underwent some changes and I cannot figure out how to do it for Wicket

Re: Determine session size for Wicket 1.5

2012-06-19 Thread Martin Grigorov
On Tue, Jun 19, 2012 at 2:10 PM, Thomas Götz t...@decoded.de wrote: Session.get().getSizeInBytes(); Apparently it is not removed ...   -Tom On 19.06.2012 at 13:03 Walter Rugora wrote: Hi there, for Wicket 1.3 I determine session size like this: RequestCycle.get().getSession

Re: Determine session size for Wicket 1.5

2012-06-19 Thread Walter Rugora
determine session size like this: RequestCycle.get().getSession().getSizeInBytes() But the RequestCycle underwent some changes and I cannot figure out how to do it for Wicket 1.5? Appreciate your help! Walter - To unsubscribe

Models and Session Size

2012-06-19 Thread Douglas Ferguson
I've been working in wicket for awhile now. I was just reading this post last night. http://www.small-improvements.com/10-things-about-apache-wicket-i-love/wicket:pageMapName/wicket-0 I was intrigued by the comment that more extensive use of Model would reduce session size. Why would

Re: Models and Session Size

2012-06-19 Thread Carl-Eric Menzel
On Tue, 19 Jun 2012 14:01:13 -0500 Douglas Ferguson the...@gmail.com wrote: I was intrigued by the comment that more extensive use of Model would reduce session size. Why would this be? Won't models still wind up in the data graph for the Page and thus be in the pagemap? Well, apart from

Re: Models and Session Size

2012-06-19 Thread Douglas Ferguson
Yes.. LoadableDetachable makes more sense. Douglas On Jun 19, 2012, at 2:17 PM, Carl-Eric Menzel wrote: On Tue, 19 Jun 2012 14:01:13 -0500 Douglas Ferguson the...@gmail.com wrote: I was intrigued by the comment that more extensive use of Model would reduce session size. Why would

Re: Shrinking the session size, simply by zipping it. Saved my day.

2012-02-20 Thread Emond Papegaaij
be integrated into the core. Josh. On Mon, Feb 20, 2012 at 5:32 AM, robmcguinness robert.mcguinness@gmail.com wrote: very nice thanks! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Shrinking-the-session-size-simp ly-by-zipping-it-Saved-my-day

Re: Shrinking the session size, simply by zipping it. Saved my day.

2012-02-20 Thread Josh Kamau
this message in context: http://apache-wicket.1842946.n4.nabble.com/Shrinking-the-session-size-simp ly-by-zipping-it-Saved-my-day-tp4402980p4403065.html Sent from the Users forum mailing list archive at Nabble.com

Shrinking the session size, simply by zipping it. Saved my day.

2012-02-19 Thread Per
Hi all, thought I'd share a really simple hack that we're using to reduce the Wicket session size (on Wicket 1.4). Background: We deploy to Google App Engine, and there's a strict 1MB limit. We've been using LDMs and all sorts of optimisations, but we were still reaching the limits when a user

Re: Shrinking the session size, simply by zipping it. Saved my day.

2012-02-19 Thread robmcguinness
very nice thanks! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Shrinking-the-session-size-simply-by-zipping-it-Saved-my-day-tp4402980p4403065.html Sent from the Users forum mailing list archive at Nabble.com

Re: Shrinking the session size, simply by zipping it. Saved my day.

2012-02-19 Thread Josh Kamau
Thanks for the post. I wish this could be integrated into the core. Josh. On Mon, Feb 20, 2012 at 5:32 AM, robmcguinness robert.mcguinness@gmail.com wrote: very nice thanks! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Shrinking-the-session-size-simply

Re: Just 100K per session? That would be my dream come true! (Anyone here who has tuned session size before?)

2011-03-02 Thread nino martinez wael
...@hamburg.de Hi Antoine, I have started collecting my hints over here: http://www.small-improvements.com/blog/technical/tuning-wicket-session-size Please note that much of it may be considered hacks and bad practice (I am just a Wicket user, not a Wicket master). There may be better ways

Re: Just 100K per session? That would be my dream come true! (Anyone here who has tuned session size before?)

2011-03-01 Thread Antoine van Wel
with a couple of hints once I stop drowning in work. Cheers, Per Reading in the other thread that a session size of 100K or less is achievable, I'll admit defeat now: I have not been able to shrink some of my pages(!) to less than 200K, not to mention the sessions. Despite LDMs

Re: Just 100K per session? That would be my dream come true! (Anyone here who has tuned session size before?)

2011-03-01 Thread Per
Hi Antoine, I have started collecting my hints over here: http://www.small-improvements.com/blog/technical/tuning-wicket-session-size Please note that much of it may be considered hacks and bad practice (I am just a Wicket user, not a Wicket master). There may be better ways to achieve

Re: Just 100K per session? That would be my dream come true! (Anyone here who has tuned session size before?)

2011-03-01 Thread robert.mcguinness
Per, Awesome summary. Much obliged. Rob -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3330455.html Sent from the Users forum mailing list archive

Re: Just 100K per session? That would be my dream come true! (Anyone here who has tuned session size before?)

2011-03-01 Thread Cristi Manole
this message in context: http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3330455.html Sent from the Users forum mailing list archive at Nabble.com

Re: Just 100K per session? That would be my dream come true! (Anyone here who has tuned session size before?)

2011-03-01 Thread Antoine van Wel
: http://www.small-improvements.com/blog/technical/tuning-wicket-session-size Please note that much of it may be considered hacks and bad practice (I am just a Wicket user, not a Wicket master). There may be better ways to achieve the same results. I'd love to get feedback on these suggestions

Re: Just 100K per session? That would be my dream come true! (Anyone here who has tuned session size before?)

2011-03-01 Thread MZemeck
session size before?) Hi Antoine, I have started collecting my hints over here: http://www.small-improvements.com/blog/technical/tuning-wicket-session-size Please note that much of it may be considered hacks and bad practice (I am just a Wicket user, not a Wicket master). There may be better

Re: Just 100K per session? That would be my dream come true! (Anyone here who has tuned session size before?)

2011-03-01 Thread Cristi Manole
' version so I can check back? From: Per p...@hamburg.de To: users@wicket.apache.org Date: 03/01/2011 02:22 PM Subject:Re: Just 100K per session? That would be my dream come true! (Anyone here who has tuned session size before?) Hi Antoine, I have started collecting my

Session size with ModalWindow

2011-02-25 Thread Stefan Lindner
We have a modal window (not matter Panel oder Page as content) which holds a lot of AjaxLinks. Each time an AjaxLink is clicked the session grows. Is there a way to suppress the versioning of the session and page? It's the PageMap that is growing. The ModalWindow does not hold any explicit

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

AW: Session size with ModalWindow

2011-02-25 Thread Stefan Lindner
Sigh! Ok, thank you for the below example. I will dig into the memory pool. Stefan -Ursprüngliche Nachricht- Von: Martin Grigorov [mailto:mgrigo...@apache.org] Gesendet: Freitag, 25. Februar 2011 11:20 An: users@wicket.apache.org Betreff: Re: Session size with ModalWindow I guess you

Re: Just 100K per session? That would be my dream come true! (Anyone here who has tuned session size before?)

2011-02-21 Thread Per
. Admittedly, this comes at the expense of flexibility and beauty, but I'm only doing this in the inner loops of very few pages, so who cares :-) Will write a summary with a couple of hints once I stop drowning in work. Cheers, Per Reading in the other thread that a session size of 100K or less

Re: Just 100K per session? That would be my dream come true! (Anyone here who has tuned session size before?)

2011-02-20 Thread Eelco Hillenius
Reading in the other thread that a session size of 100K or less is achievable, I'll admit defeat now: I have not been able to shrink some of my pages(!) to less than 200K, not to mention the sessions. Despite LDMs, CompoundPropertyModels, and no, there are no domain objects

Re: Just 100K per session? That would be my dream come true! (Anyone here who has tuned session size before?)

2011-02-17 Thread MZemeck
How are you storing/retrieving your photos? I recently did some session size testing and I found the sessions were surprisingly small. Once I removed the detachable model wrapped around an object holding a photo (byte array) retrieved from the database my session size shot up considerably

Re: Just 100K per session? That would be my dream come true! (Anyone here who has tuned session size before?)

2011-02-16 Thread Johan Compagner
issues, despite weeks of research and profiling. Reading in the other thread that a session size of 100K or less is achievable, I'll admit defeat now: I have not been able to shrink some of my pages(!) to less than 200K, not to mention the sessions. Despite LDMs, CompoundPropertyModels

Re: Just 100K per session? That would be my dream come true! (Anyone here who has tuned session size before?)

2011-02-16 Thread Per
may have many Gigs these days, you'd still be in trouble if thousands of users came slurping 40M each, that's why I do think that session size remains an important consideration. I would strongly recommend anyone not to leave optimisation till the very last, but plan ahead and spike some

Just 100K per session? That would be my dream come true! (Anyone here who has tuned session size before?)

2011-02-15 Thread Per
So I still haven't solved my memory issues, despite weeks of research and profiling. Reading in the other thread that a session size of 100K or less is achievable, I'll admit defeat now: I have not been able to shrink some of my pages(!) to less than 200K, not to mention the sessions. Despite

Re: Just 100K per session? That would be my dream come true! (Anyone here who has tuned session size before?)

2011-02-15 Thread Igor Vaynberg
and profiling. Reading in the other thread that a session size of 100K or less is achievable, I'll admit defeat now: I have not been able to shrink some of my pages(!) to less than 200K, not to mention the sessions. Despite LDMs, CompoundPropertyModels, and no, there are no domain objects

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

session size

2011-01-17 Thread Mihai Toma
Hi! I have an application build with wicket and I have a session problem. If one user browse the application the session (the object WebSession) becomes bigger and bigger, so if I browse 20 pages the session size has around 16 Mb. When I start browsing the session has something less than

Re: session size

2011-01-17 Thread Martin Grigorov
: Hi! I have an application build with wicket and I have a session problem. If one user browse the application the session (the object WebSession) becomes bigger and bigger, so if I browse 20 pages the session size has around 16 Mb. When I start browsing the session has something less

Re: session size

2011-01-17 Thread Pedro Santos
an application build with wicket and I have a session problem. If one user browse the application the session (the object WebSession) becomes bigger and bigger, so if I browse 20 pages the session size has around 16 Mb. When I start browsing the session has something less than 100 Kb. I read

Re: session size

2011-01-17 Thread Jeremy Thomerson
problem. If one user browse the application the session (the object WebSession) becomes bigger and bigger, so if I browse 20 pages the session size has around 16 Mb. When I start browsing the session has something less than 100 Kb. I read some things about the pages which

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

Wicket Pattern to reduce session size

2010-01-28 Thread Gaetan Zoritchak
Hi all, I was debugging my sessions size in order to reduce it and I saw that one of my page spend 20ko because of an dynamic image generated with JFreeChart. JFreeChart was serialized with my DynamicImageRessource. My first optimisation is to make JFreeChart a static field initialized in a

Re: Wicket Pattern to reduce session size

2010-01-28 Thread Pedro Santos
Then this image will to be the same for all sessions. If you don't want that object on your session, make sure at getImageData method implementation that you are always creating your chart object, and not keeping it in any instance variable. On Thu, Jan 28, 2010 at 8:28 AM, Gaetan Zoritchak

Re: Wicket Pattern to reduce session size

2010-01-28 Thread Gaetan Zoritchak
In fact, I just put the reference to JFreeChart as static. All the commons values are initialized in the static bloc (ie, Font, definition on the axis, ...). I keep the image generation done in the getImageData using the pageParameters. So every session or even page request can have its own

Re: Wicket Pattern to reduce session size

2010-01-28 Thread Riyad Kalla
Gaetan, You can mark whatever instance that is causing the session to be so large as 'transient' to avoid it being serialized -- you'd have to recreate it each time it was needed though. So if it's in your model: = private String chartName; private String chartArguments; // maybe

what's too big for a session size?

2009-06-15 Thread Steve Swinsburg
Hi all, I'm monitoring my Wicket app via the RequestLogger and going through making improvements where needed. I am wondering what the size of a session would be before it is considered too large? Is the value given in the 'sessionsize' attribute of the logging output a reasonable way to

Re: what's too big for a session size?

2009-06-15 Thread Martijn Dashorst
Sessionsize recording is rather expensive, I wouldn't turn that on unless you're hunting for something. So the request times should be taken with a jar of salt. Session size per se is not the only factor. A session size of 1MiB can be perfectly ok, which would still support 1k users on one box

Re: what's too big for a session size?

2009-06-15 Thread Igor Vaynberg
there are two things to take into account: memory and network like martijn said, a session is too big when it is greater then available heap/target number of users if you are using session replication for clustering or failover the session is too big when the time to replicate it becomes a

Re: Increasing session size

2009-01-30 Thread Jürgen Lind
of entities and so I am using a DataView together with LoadableDetachableModels to read the data on demand. However, when looking at the serialized sessions, I can observe that the session size constantly increases by a fairly large amount although I am just using the navigator to page through

Re: Increasing session size

2009-01-30 Thread Johan Compagner
is supposed to work. In my application, I have to show quite large list of entities and so I am using a DataView together with LoadableDetachableModels to read the data on demand. However, when looking at the serialized sessions, I can observe that the session size constantly

Re: Increasing session size

2009-01-30 Thread Jürgen Lind
the DataView component is supposed to work. In my application, I have to show quite large list of entities and so I am using a DataView together with LoadableDetachableModels to read the data on demand. However, when looking at the serialized sessions, I can observe that the session size constantly

Re: Increasing session size

2009-01-30 Thread Johan Compagner
. In my application, I have to show quite large list of entities and so I am using a DataView together with LoadableDetachableModels to read the data on demand. However, when looking at the serialized sessions, I can observe that the session size constantly increases by a fairly

Re: Increasing session size

2009-01-30 Thread Jürgen Lind
sessions, I can observe that the session size constantly increases by a fairly large amount although I am just using the navigator to page through the list. Also, when looking into the serialized session, I can see that the objects that are supposed to be reloaded on demand are serialized

DataView and increasing session size

2009-01-29 Thread Jürgen Lind
that the session size constantly increases by a fairly large amount although I am just using the navigator to page through the list. Also, when looking into the serialized session, I can see that the objects that are supposed to be reloaded on demand are serialized into the session as well

Re: DataView and increasing session size

2009-01-29 Thread Michael Sparer
of entities and so I am using a DataView together with LoadableDetachableModels to read the data on demand. However, when looking at the serialized sessions, I can observe that the session size constantly increases by a fairly large amount although I am just using the navigator to page through

Re: DataView and increasing session size

2009-01-29 Thread Jürgen Lind
the DataView component is supposed to work. In my application, I have to show quite large list of entities and so I am using a DataView together with LoadableDetachableModels to read the data on demand. However, when looking at the serialized sessions, I can observe that the session size constantly

Re: DataView and increasing session size

2009-01-29 Thread Michael Sparer
the DataView component is supposed to work. In my application, I have to show quite large list of entities and so I am using a DataView together with LoadableDetachableModels to read the data on demand. However, when looking at the serialized sessions, I can observe that the session size

Re: DataView and increasing session size

2009-01-29 Thread Jürgen Lind
with LoadableDetachableModels to read the data on demand. However, when looking at the serialized sessions, I can observe that the session size constantly increases by a fairly large amount although I am just using the navigator to page through the list. Also, when looking into the serialized session

Increasing session size

2009-01-29 Thread Jürgen Lind
is supposed to work. In my application, I have to show quite large list of entities and so I am using a DataView together with LoadableDetachableModels to read the data on demand. However, when looking at the serialized sessions, I can observe that the session size constantly increases

Re: Increasing session size

2009-01-29 Thread Igor Vaynberg
quite large list of entities and so I am using a DataView together with LoadableDetachableModels to read the data on demand. However, when looking at the serialized sessions, I can observe that the session size constantly increases by a fairly large amount although I am just using

Monitor session size in Tomcat

2008-12-01 Thread Adriano dos Santos Fernandes
Hi! This is not a direct wicket question, but important for wicket usage, so I'm asking here... What you use to monitor Tomcat sessions size? (preferable something that I can use in production) I tried with JMX/jconsole and with LambdaProbe. The former doesn't seems to have that info, and

Re: Monitor session size in Tomcat

2008-12-01 Thread Johan Compagner
you can monitor what wicket does with the IRequestLogger On Mon, Dec 1, 2008 at 16:13, Adriano dos Santos Fernandes [EMAIL PROTECTED] wrote: Hi! This is not a direct wicket question, but important for wicket usage, so I'm asking here... What you use to monitor Tomcat sessions size?

Re: Monitor session size in Tomcat

2008-12-01 Thread Adriano dos Santos Fernandes
So does that mean there is nothing already made to monitor session size at container level instead of application level? Adriano Johan Compagner escreveu: you can monitor what wicket does with the IRequestLogger On Mon, Dec 1, 2008 at 16:13, Adriano dos Santos Fernandes [EMAIL PROTECTED

Re: Best way to debug big session size?

2008-07-11 Thread Timo Rantalaiho
On Thu, 10 Jul 2008, Johan Compagner wrote: try it with yourkit? I've got JProfiler and at least with that it's been a bit difficult to pinpoint which exactly are the components hanging onto the biggest objects. But I did a kludge in our own DiskPageStore extension where I visit all the

Re: Best way to debug big session size?

2008-07-11 Thread Eelco Hillenius
This also revealed that for example the page instance I'm currently looking at has more than 2000 components in total :) Maybe we should look at replacing some stuff that is not displayed with dummy WebMarkupContainers instead of relying on visibility control. Maurice and Martijn have a

Re: Best way to debug big session size?

2008-07-10 Thread Johan Compagner
try it with yourkit? i know it is still a bit of work but normally if you do a request and after the request you look at the HttpSession and see how big it is, you should be able to pin point the biggest retained size johan On Thu, Jul 10, 2008 at 5:24 AM, Timo Rantalaiho [EMAIL PROTECTED]

Best way to debug big session size?

2008-07-09 Thread Timo Rantalaiho
Hello, I'm currently debugging a situation where we have too much data in the session (in some places, more objects should be behind detachable models, smaller object graphs retrieved from the db etc). I've added debug logging to get the size of the page just before storing it in DiskPageStore

Sporadic exponential explosion of session size

2008-02-29 Thread Meetesh Karia
reference other Pages and the session size changes as it should. However, occasionally when we open pages in a new tab (often when multiple pages are opened in a new tab in rapid succession), we get the following situation: 1 tab pagemap-null size = x 2 tabs pagemap-null size = 2x pagemap-0 size

Re: Sporadic exponential explosion of session size

2008-02-29 Thread Igor Vaynberg
though unfortunately we can't consistently reproduce it. We're using Wicket 1.3.1 with automatic multi-window support enabled and the default SecondLevelCacheSessionStore. During normal use of our site, no Pages reference other Pages and the session size changes as it should

Re: Sporadic exponential explosion of session size

2008-02-29 Thread Meetesh Karia
. During normal use of our site, no Pages reference other Pages and the session size changes as it should. However, occasionally when we open pages in a new tab (often when multiple pages are opened in a new tab in rapid succession), we get the following situation: 1 tab pagemap-null

Re: Sporadic exponential explosion of session size

2008-02-29 Thread Johan Compagner
times though unfortunately we can't consistently reproduce it. We're using Wicket 1.3.1 with automatic multi-window support enabled and the default SecondLevelCacheSessionStore. During normal use of our site, no Pages reference other Pages and the session size changes

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

2007-10-03 Thread Johan Compagner
there, we're developing a rather straight forward application with wicket and I am wondering if it is ok to call setResponsePage(getPage()) inside the onClick() method of a Link? Because the session size is constantly increasing, here's my example: Application class: public class TestApplication

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

2007-10-03 Thread Johan Compagner
the onClick() method of a Link? Because the session size is constantly increasing, here's my example: Application class: public class TestApplication extends WebApplication { public TestApplication() { super(); } @Override public Class

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

2007-10-03 Thread Martin2
: Hi there, we're developing a rather straight forward application with wicket and I am wondering if it is ok to call setResponsePage(getPage()) inside the onClick() method of a Link? Because the session size is constantly increasing, here's my example: Application class

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

2007-10-03 Thread Gerolf Seitz
the onClick() method of a Link? Because the session size is constantly increasing, here's my example: Application class: public class TestApplication extends WebApplication { public TestApplication() { super(); } @Override

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

2007-10-03 Thread Johan Compagner
: Hi there, we're developing a rather straight forward application with wicket and I am wondering if it is ok to call setResponsePage(getPage()) inside the onClick() method of a Link? Because the session size is constantly increasing, here's my example

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

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

2007-10-02 Thread Martin2
Hi there, we're developing a rather straight forward application with wicket and I am wondering if it is ok to call setResponsePage(getPage()) inside the onClick() method of a Link? Because the session size is constantly increasing, here's my example: Application class: public class