Re: d2w - huh?
Re: d2w - huh?
- Subject: Re: d2w - huh?
- From: Ramsey Gurley <email@hidden>
- Date: Tue, 21 Jun 2011 15:05:27 -0700
On Jun 21, 2011, at 2:22 PM, David Avendasora wrote:
> On Jun 21, 2011, at 5:03 PM, Ramsey Gurley <email@hidden> wrote:
>
>>> Also, if I grab the queryAll page I run out of heap space after about 5-6 refreshes of the page. I hope I'm just doing something stupid here. Any ideas?
>>>
>>> Thanks.
>>> -Mike
>>
>> I have not experienced problems with heap space in D2W.
>
> I have. It is almost certainly a situation where you have a relationship modeled that could point to thousands or millions of related objects and you have a rule that is telling D2W to show that relationship in the queryAll page by making it a displayPropertyKey in some rule that somehow matches the QueryAll page. Normally the QueryAll page only lets you search on attributes.
Correction (^_^) I have not experienced problems with heap on a QueryAll page. If you fault 1000000 rows in the DB, then yeah, boom! But that's not D2W. You just happen to be using D2W when you triggered the fault.
I've had the (mis)fortune of using Sybase lately, and it doesn't do limit fetches. That means ERXBatchingDisplayGroup doesn't work, which means just using a WODisplayGroup can make the whole app fall over. Sybase makes WO a saaaad panda.
> Turn on the SQL debugging and watch for a SQL statement that returns a large number of rows when the QueryAll page is loaded.
>
> Dave
I rarely turn that off in dev (^_^)
Ramsey
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden