Colin, be aware that running through service wrappers can introduce a lot of overhead / blocking on logging due to stdout redirects. Our application had to switch to SLF4J / Logback, since logging with JUL, Log4J or to console / stdout and incorrectly configuring the wrapper could lead to 100 ms pauses caused by log blocking. Even then, as I all too recently noticed, a simple configuration error could bring these problems back even when using SLF4J / Logback.
That's something you might look into when there's no problem running as a jar, but occurring solely when run through a service wrapper. Regards, Niels On Tuesday, July 7, 2015 at 6:37:05 PM UTC+2, Colin Yates wrote: > > Hi Alan, > > Interesting point about the memory, they are defaults everywhere though. I > am going to deploy on Windows 7 as a service rather than running java -jar > in a command window; it does produce a bunch of debugging and maybe Windows > 7 console compared to Windows XP console (for example) is the > differentiator. Straws, grasping etc. > > No, the app never gets to respectable performance. > > > On 7 Jul 2015, at 16:37, Alan Moore <kahun...@coopsource.org > <javascript:>> wrote: > > > > Maybe the JDK default memory/heap settings are different on Windows 7. > What is the memory pressure like on your Windows 7 system? > > > > You might need to give your app more memory or at least a larger initial > heap allocation. > > > > Does the app perform ok once it is up and running? > > > > Alan > > > > -- > > You received this message because you are subscribed to the Google > > Groups "Clojure" group. > > To post to this group, send email to clo...@googlegroups.com > <javascript:> > > Note that posts from new members are moderated - please be patient with > your first post. > > To unsubscribe from this group, send email to > > clojure+u...@googlegroups.com <javascript:> > > For more options, visit this group at > > http://groups.google.com/group/clojure?hl=en > > --- > > You received this message because you are subscribed to the Google > Groups "Clojure" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to clojure+u...@googlegroups.com <javascript:>. > > For more options, visit https://groups.google.com/d/optout. > > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.