On Sat, Nov 14, 2009 at 1:01 PM, Steph <[email protected]> wrote: > This happens: > - running dev_appserver > - with JSP files of just any size. > - seems to be blocking on initializing the datastore >
Can you elaborate on this part a bit more? What are you seeing that makes you think it's "initializing the datastore"? Are you restarting the entire dev_appserver after modifying the jsp? How large is your datastore (e.g. how many entities, how many properties per entity, average size of each property). If you can file an issue with a very simple webapp that reproduces the problem, that would be the best way for us to track the problem down. Alternatively, you could hook a profiler up to the dev_appserver yourself (for example, visualvm, hprof, or jprofiler). With three minutes of execution time, there should be a pretty obvious hotspot. > > I tried to set --jvm_flag=-Xmx1G in my dev_appserver.cmd file but it > does not seem to help much (i don't use eclipse) > Another other advice? > > > On Nov 13, 12:00 pm, Toby Reyelts <[email protected]> wrote: > > Wow, that sounds bad. You're saying that this happens while running the > > dev_appserver (not appcfg), and you're only modifying one JSP file? Is > that > > JSP file huge? Try raising the heap size of your JVM. For example, if > you're > > using Eclipse, set -Xmx1G in the JVM arguments for your launch config. If > > you're running the dev_appserver from the command line, use > > --jvm_flag=-Xmx1G.On Fri, Nov 13, 2009 at 12:51 PM, Steph < > [email protected]> wrote: > > > When modifying a JSP in the war directory, it can take up to 3 minutes > > > for the JSP to recompile and the page to render (I am on a brand new > > > dual-core CPU 2.66 Ghz). > > > > > Is there a way that the JSP compile time can be speed up? This > > > slowness makes development almost unbearable. Thanks for your help. > > > > > -- > > > > > 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]><google-appengine-java%2B > [email protected]> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-appengine-java?hl=. > > -- > > 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=. > > > -- 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=.
