If you can give us the relevant code snippets we can tell you whats wrong.

-lIgor

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johan Compagner
Sent: Thursday, September 22, 2005 10:34 AM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] list view sorting consuming all heap space

 

it should be so easy to see what is still being serialized
You just have to look at youre reference tree. There is just something that is serialized what should be serialized.

On 9/22/05, Nathan Hamblen <[EMAIL PROTECTED]> wrote:

I did eventually update to the detaching HibernateDataProvider, but still ran out of heap space. That one object wouldn't have amounted to enough memory anyway. Somewhere, something recursive is broken. Clicking through the sort header, response times get noticeably slower with each request until it crashes. I'm sorry that I won't be able work on it anymore this week.

If no one has confirmed that DataView sorting works properly and indefinitely with HibernateDataProvider, it would be a good project. Wicket can't really take off until there's an easy, standard way to view and sort hibernate query results.

Nathan

Igor Vaynberg wrote:

Need to wait for sf.net to sync the developer cvs with the public cvs. Sometimes takes up to 6 hours.

-Igor

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Nathan 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" because I had the same problem with contrib.data's OrderedPageableList. No one's talking about that one though.)

Nathan

Phil Kulak wrote:

Sorry about that. I totally spaced this thread because it was called
"list view". Anyway, I added constructors to HibernateDataProvider and
HibernateModel that take IModels for the IHibernateDao for the case
when you want to do a lookup. For example:
 
IModel lookup = new Model() {
   public Object getObject(Component component) {
      // Do some Spring lookup stuff here and get an IHibernateDao...
   }
}
 
new HibernateDataProvider(lookup) {
   // Define abstract methods...
}
 

------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user

 

Reply via email to