[
https://issues.apache.org/jira/browse/WICKET-4867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13501980#comment-13501980
]
Sven Meier commented on WICKET-4867:
------------------------------------
I'm looking at WicketExamplePage->WicketExampleHeader. FormInput adds a
Feedback later on.
But even moving the DebugBar to the end of the page doesn't help.
> Detach the object before calculating its size
> ---------------------------------------------
>
> Key: WICKET-4867
> URL: https://issues.apache.org/jira/browse/WICKET-4867
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 6.2.0, 1.5.9
> Reporter: Martin Grigorov
> Assignee: Martin Grigorov
> Priority: Minor
> Fix For: 6.3.0, 1.5.10
>
>
> The debug panel in wicket-devutils uses WicketObjects#sizeOf() to calculate
> the size of the page and the session.
> The "problem" that I see is that it calculates the size of the non-detached
> object. I think what really matters is the size after detaching it, because
> this is what is being saved in the http session and the disk, and I guess
> this is what the developer needs to know actually.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira