Also, my application uses many templates (>500) and it uses hardly any memory. I'm able to confirm this using yourkit. Granted my templates are not macro intensive.
On 4/16/08, Ronald Klop (JIRA) <[email protected]> wrote: > > [ > https://issues.apache.org/jira/browse/VELOCITY-450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589481#action_12589481 > ] > > Ronald Klop commented on VELOCITY-450: > -------------------------------------- > > Hi, > > I fixed something in https://issues.apache.org/jira/browse/VELOCITY-570. But > I don't know if this helps for your problem. > So there is development activity. > > Can you generate and analyze memory dumps of your problem? It is very nice > to know what classes are holding what objects which use the memory. > > Ronald. > > > > Reduce memory usage for Velocity templates > > ------------------------------------------ > > > > Key: VELOCITY-450 > > URL: https://issues.apache.org/jira/browse/VELOCITY-450 > > Project: Velocity > > Issue Type: Wish > > Components: Engine > > Affects Versions: 1.4 > > Environment: Windows 2000, Jdk1.4.2, Tomcat4.1.29 > > Reporter: coumaravel > > Fix For: 1.6 > > > > > > Hi, > > We are using the velocity templates extensively to > > generate HTML reports. Normally our templates size on > > the Disk is around 20-50kb, when it gets loaded into > > Application(Tomcat) memory it turns to 3-5MB. > > As of now we have 500 templates, in near future we are > > planning to increase this to 1500. > > Any Idea why this is happening. Any help in this is > > much appreciated, as this is becoming a bottleneck for > > the scalability of our application. > > Thanks in advance. > > Regards, > > Coumar > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Sent from Gmail for mobile | mobile.google.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
