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.
|Field||Original Value||New Value|
|Summary||Why Velocity Templates takes larger memory||Reduce memory usage for Velocity templates|
|Priority||Blocker [ 1 ]||Major [ 3 ]|
|Issue Type||Bug [ 1 ]||Wish [ 5 ]|
|Component/s||Source [ 12310214 ]|
|Component/s||Engine [ 12311337 ]|
|Fix Version/s||1.6 [ 12310290 ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Resolution||Fixed [ 1 ]|
|Workflow||jira [ 12381758 ]||Default workflow, editable Closed status [ 12551658 ]|
|Workflow||Default workflow, editable Closed status [ 12551658 ]||jira [ 12552249 ]|