Thanks very much for your replay. On Dec 1, 4:40 am, "Ikai L (Google)" <[email protected]> wrote: > Calvin, only one instance of PersistenceManagerFactory will exist per > application instance. The expensive part of application loading isn't the > PersistenceManagerFactory. It's the virtual machine instance. If your > application isn't receiving requests, we will cycle it out. The first > request that comes in will cause us to reinstantiate a virtual machine. > We're looking at different ways of addressing this by speeding up startup > time. > > > > On Sat, Nov 28, 2009 at 8:03 PM, Calvin <[email protected]> wrote: > > Hi, everyone > > > I just wrote simple app using java. As the guide said to instance a > > PersistenceManagerFactory takes times, I use a very single instance in > > my app. But it seems the app will stop if no requests in few minutes. > > When another request comes the app will restart again and re-instance > > PersistenceManagerFactory. It not just take a few seconds to wait app > > response, the worse is it report critical warning as "this request > > used a high amount of CPU and may soon exceed its quota". > > > Did anyone know how to fix this problem? > > > thanks a lot! > > > - Calvin Zhao > > > -- > > > You received this message because you are subscribed to the Google Groups > > "Google App Engine for Java" group. > > To post to this group, send email to > > [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<google-appengine-java%[email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-appengine-java?hl=en. > > -- > Ikai Lan > Developer Programs Engineer, Google App Engine
-- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
