Issue Details (XML | Word | Printable)

Key: VELOCITY-450
Type: Wish Wish
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: coumaravel
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Velocity

Reduce memory usage for Velocity templates

Created: 15/Aug/06 11:19 AM   Updated: 15/Aug/08 09:35 PM
Return to search
Component/s: Engine
Affects Version/s: 1.4
Fix Version/s: 1.6

Time Tracking:
Not Specified

Environment: Windows 2000, Jdk1.4.2, Tomcat4.1.29

Resolution Date: 15/Aug/08 09:35 PM


 Description  « Hide
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


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Nathan Bubna made changes - 15/Aug/06 03:05 PM
Field Original Value New Value
Priority Blocker [ 1 ] Major [ 3 ]
Issue Type Bug [ 1 ] Wish [ 5 ]
Summary Why Velocity Templates takes larger memory Reduce memory usage for Velocity templates
Henning Schmiedehausen made changes - 05/Nov/06 12:40 PM
Fix Version/s 1.6 [ 12310290 ]
Component/s Engine [ 12311337 ]
Component/s Source [ 12310214 ]
Nathan Bubna made changes - 15/Aug/08 09:35 PM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]