>> It takes several minutes for the application to return and display
the data for the logged in user.
 
> determine if the issue is data transfer (doubtful) or
rendering(probable)
 
First be certain that the initial data transfer is quick. Put a
breakpoint in the result handler and see whether you hit it quickly.
 
What kind of UI elements, and how many of them, are you creating to
render the user data?
 
- Gordon

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of yevgeniy.galper
Sent: Wednesday, September 12, 2007 1:08 PM
To: [email protected]
Subject: [flexcoders] Re: Very slow initial load and an excessive CPU
usage during startup



I did search for creationPolicy="all" in all files, but I did not 
find anything, so I believe creationPolicy is not set to "all".

How would I go about timing the initialization functionality?

Thanks,
Yevgeniy

--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> Did you set creationPolicy="all" anywhere?
> 
> 
> 
> time the initialization functionality to determine if the issue is 
data
> transfer (doubtful) or rendering(probable)
> 
> Tracy
> 
> 
> 
> ________________________________
> 
> From: [email protected] <mailto:flexcoders%40yahoogroups.com>

[mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>
] On
> Behalf Of yevgeniy.galper
> Sent: Wednesday, September 12, 2007 2:58 PM
> To: [email protected] <mailto:flexcoders%40yahoogroups.com> 
> Subject: [flexcoders] Very slow initial load and an excessive CPU 
usage
> during startup
> 
> 
> 
> I am using Flex front end and Java/Hibernate for DB communication.
> When the application starts up fast and a login screen is displayed.
> After a user logs in the application logs in I get an Alert within 
a 
> second or two confirming that the login information was correct and 
a 
> user with a certain ID is logged in. After that the user info page 
is 
> displayed, but it is not populated with user related info. It takes 
> several minutes for the application to return and display the data 
for 
> the logged in user. During this whole period of time CPU usage is 
at 
> 100% on the machine. After the initial wait of several minutes the 
> application functions blazing fast. All kinds of DB retrievals and 
> updates are fast, but if another user logs in it takes several 
minutes 
> again. WHY???
> 
> I do not have a lot of data in the DB, just some test data, so that 
> could not be effecting such a slow initial load.
> 
> I have spent several days trying different things, like turning on 
and 
> off lazy loading, but it does not seem to make a difference.
> 
> Please, help
>



 

Reply via email to