• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: EOModels occasionally loading too slowly?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EOModels occasionally loading too slowly?


  • Subject: Re: EOModels occasionally loading too slowly?
  • From: Paul Hoadley <email@hidden>
  • Date: Wed, 4 Nov 2009 12:00:21 +1030

On 04/11/2009, at 11:49 AM, Mike Schrag wrote:

So I never see this because I use migrations on every app, so the models are touched early all the time ... But if i turn off migrations, it does look like it's not triggered until the first EOF request.

I think I've at least made the problem deterministic now in my case.  In LSApplication.didFinishLaunching, I was fetching some EOs.  If I comment that out, then the first EOF request is in the default page:

LogIn.allNotices: ENTRY
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java:1230)
at er.extensions.eof.ERXModelGroup.loadModelsFromLoadedBundles(ERXModelGroup.java:125)
at er.extensions.ERXExtensions.defaultModelGroup(ERXExtensions.java:135)
...

And everything seems to proceed in an orderly manner.  Just about to try Mike's changes.


-- 
Paul.

w  http://logicsquad.net/
h  http://paul.hoadley.name/

 _______________________________________________
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

References: 
 >EOModels occasionally loading too slowly? (From: Paul Hoadley <email@hidden>)
 >Re: EOModels occasionally loading too slowly? (From: Gennady Kushnir <email@hidden>)
 >Re: EOModels occasionally loading too slowly? (From: Paul Hoadley <email@hidden>)
 >Re: EOModels occasionally loading too slowly? (From: Chuck Hill <email@hidden>)
 >Re: EOModels occasionally loading too slowly? (From: Paul Hoadley <email@hidden>)
 >Re: EOModels occasionally loading too slowly? (From: Mike Schrag <email@hidden>)
 >Re: EOModels occasionally loading too slowly? (From: Paul Hoadley <email@hidden>)
 >Re: EOModels occasionally loading too slowly? (From: Chuck Hill <email@hidden>)
 >Re: EOModels occasionally loading too slowly? (From: Paul Hoadley <email@hidden>)
 >Re: EOModels occasionally loading too slowly? (From: Paul Hoadley <email@hidden>)
 >Re: EOModels occasionally loading too slowly? (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: EOModels occasionally loading too slowly?
  • Next by Date: Re: EOModels occasionally loading too slowly?
  • Previous by thread: Re: EOModels occasionally loading too slowly?
  • Next by thread: Re: EOModels occasionally loading too slowly?
  • Index(es):
    • Date
    • Thread