I guess if you subclass model, you have to make sure you turn of
versioning on the component. I neverthought of that before. That's a
tricky one.
On 9/26/05, Johan Compagner <[EMAIL PROTECTED]> wrote:
> I had this discussion with jonathan also, Just to warn you all:
> BEWARE if you use non stati
I had this discussion with jonathan also, Just to warn you all:
BEWARE if you use non static innerclasses you ALWAYS have a reference to the outerclass.
Anonymous .are always non static so you always have a reference to youre parent class.
johanOn 9/27/05, Nathan Hamblen <[EMAIL PROTECTED]> wrot
Everyone, thanks for the help. I finally found the problem by debugging
into componentModelChanging as several people had urged me to do. The
memory hog was an object I had in the data provider, which was a member
class of my Page class. I wasn't using the page in it, but it still had
compiler
Are you using a model now and doing the lookup there? If you just
downloaded the new code and didn't change you code to use the new API,
nothing will change. I made it all backwards compatible.
---
SF.Net email is sponsored by:
Tame your develop
, 2005
11:35 AM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] list
view sorting consuming all heap space
Ok, that change is going into cvs? I don't see any new
constructors yet.
(I titled my first message "list view" because I had the same problem
with contrib.data
2005
11:35 AM
To: wicket-user@lists.sourceforge.net
Subject: Re:
[Wicket-user] list
view sorting consuming all heap space
Ok, that change is going into
cvs? I don't see any new
constructors yet.
(I titled my first message "list view" because I had the same problem
with contrib.data'
Sent: Thursday,
September 22, 2005
8:55 AM
To: wicket-user@lists.sourceforge.net
Subject: Re:
[Wicket-user] list
view sorting consuming all heap space
I did eventually update to the
detaching
HibernateDataProvider, but still ran out of heap space. That one object
wouldn't have a
ay, September 20, 2005
11:35 AM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] list
view sorting consuming all heap space
Ok, that change is going into cvs? I don't see any new
constructors yet.
(I titled my first message "list view" because I
n Hamblen
Sent: Tuesday,
September 20, 2005
11:35 AM
To: wicket-user@lists.sourceforge.net
Subject: Re:
[Wicket-user] list
view sorting consuming all heap space
Ok, that change is going into
cvs? I don't see any new
constructors yet.
(I titled my first message "list view&q
MAIL PROTECTED]] On Behalf Of Nathan Hamblen
Sent: Monday, September 19, 2005 1:46 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] list view sorting consuming all heap space
This is it:
---
DataView articles = new ArticleDataView("articles", (IHibernateDao)
((Admi
:[EMAIL PROTECTED] On Behalf
> Of Nathan Hamblen
> Sent: Tuesday, September 20, 2005 8:23 AM
>
> To: wicket-user@lists.sourceforge.net
> Subject: Re: [Wicket-user] list view sorting consuming all heap space
>
>
>
>
> I don't see how that code would work, as
@lists.sourceforge.net
Subject: Re: [Wicket-user] list
view sorting consuming all heap space
I don't see how that code would work, as my bean isn't
an instance of IDataProvider; it's an IHibernateDao. Is there an example
somewhere of how DataView works with hibernate in such a way that th
Monday, September 19, 2005 1:46 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] list view sorting consuming all heap space
This is it:
---
DataView articles = new ArticleDataView("articles", (IHibernateDao)
((AdminApplication)getApplication()).getSpringContext().getBean(&
cket-user@lists.sourceforge.net> Subject: Re: [Wicket-user] list view sorting consuming all heap space>> This is it:> ---
> DataView articles = new ArticleDataView("articles", (IHibernateDao)>> ((AdminApplication)getApplication()).getSpringContext().getBean(&qu
cket-user-
> [EMAIL PROTECTED] On Behalf Of Nathan Hamblen
> Sent: Monday, September 19, 2005 1:46 PM
> To: wicket-user@lists.sourceforge.net
> Subject: Re: [Wicket-user] list view sorting consuming all heap space
>
> This is it:
> ---
> DataView arti
PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Igor Vaynberg
Sent: Monday, September 19, 2005
2:51 PM
To: wicket-user@lists.sourceforge.net
Subject: RE: [Wicket-user] list
view sorting consuming all heap space
The adminComponentDao is being serialized,
and the whole IOC container is
Behalf Of Johan Compagner
Sent: Monday, September 19, 2005
2:05 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] list
view sorting consuming all heap space
if you enabled versioning
can you debug into Page.componentModelChanging(final Component component) ?
And see what is
> -Igor>>>>>> >> *From:*
[EMAIL PROTECTED]> [mailto:[EMAIL PROTECTED]] *On Behalf Of *Nathan> Hamblen> *Sent:* Monday, September 19, 2005 10:05 AM
> *To:* wicket-user@lists.sourceforge.ne
r@lists.sourceforge.net
<mailto:wicket-user@lists.sourceforge.net>>
Sent: Monday, September 19, 2005 1:00 AM
Subject: [Wicket-user] list view sorting consuming all heap space
>I wonder if anyone else has had a problem running out of heap space
> using contrib data and dataview. When
AM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] list
view sorting consuming all heap space
When I turn off page versioning, the problem goes
away. I'm not holding on to any big objects though, as far as I can tell. There
are some ExternalLink components in the list
ting header some time back.
- Original Message -
From: "Nathan Hamblen" <[EMAIL PROTECTED]>
To: <
wicket-user@lists.sourceforge.net>
Sent: Monday, September 19, 2005 1:00 AM
Subject: [Wicket-user] list view sorting consuming all heap space
>I wonder i
ect: [Wicket-user] list view sorting consuming all heap space>I wonder if anyone else has had a problem running out of heap space
> using contrib data and dataview. When I hook up a sorting header for> my hib3 result set, if I keep clicking the header repeatedly (as my> boss is sure to do!)
I have come across this problem with the sorting header some time back.
- Original Message -
From: "Nathan Hamblen" <[EMAIL PROTECTED]>
To:
Sent: Monday, September 19, 2005 1:00 AM
Subject: [Wicket-user] list view sorting consuming all heap space
I wonder if anyon
> Sent: Sunday, September 18, 2005 5:01 PM
> To: wicket-user@lists.sourceforge.net
> Subject: [Wicket-user] list view sorting consuming all heap space
>
> I wonder if anyone else has had a problem running out of heap space
> using contrib data and dataview. When I hook up a sorting
I wonder if anyone else has had a problem running out of heap space
using contrib data and dataview. When I hook up a sorting header for
my hib3 result set, if I keep clicking the header repeatedly (as my
boss is sure to do!) the page will take longer and longer to display,
until after abou
25 matches
Mail list logo