Did you set creationPolicy="all" anywhere?
time the initialization functionality to determine if the issue is data transfer (doubtful) or rendering(probable) Tracy ________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of yevgeniy.galper Sent: Wednesday, September 12, 2007 2:58 PM To: flexcoders@yahoogroups.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