I have caching turned on. So, I'll start with your first suggestions. And then I'll test the other patch and report back here with whatever I find.
On Thu, Aug 14, 2008 at 11:42 AM, Jarkko Viinamäki <[EMAIL PROTECTED]>wrote: > > OK. I was able to get the OOM also when I turned caching off. There is a > bug > in current SVN head [1] in file VelocityCharStream which can be fixed by a > patch (by Jacob Mundt). See: > https://issues.apache.org/jira/browse/VELOCITY-570 > > > [1] > > http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/VelocityCharStream.java?revision=676440&view=markup > > Could you try that patch and report back if you still run into OOM errors. > Thanks! > > Jarkko > > > erron wrote: > > > > At the time, I was able to create the OOM with by myself clicking around > > the > > site. I doubt you would consider these templates very large, mostly just > > html with a few variables.with the largest template being about 32k. And > > my > > JVM settings where the same as I had for the 1.5 version. However, I do > > have my own ResourceCacheImpl (any issues jump out at you?): > > > > -- > View this message in context: > http://www.nabble.com/-jira--Created%3A-%28VELOCITY-607%29-Runtime-macro-rendering-very-slow-in-Velocity-1.6-dev-%28679708%29-compared-to-1.5-tp18648266p18984205.html > Sent from the Velocity - Dev mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >