
| Key: |
VELOCITY-450
|
| Type: |
Wish
|
| Status: |
Resolved
|
| Resolution: |
Fixed
|
| Priority: |
Major
|
| Assignee: |
Unassigned
|
| Reporter: |
coumaravel
|
| Votes: |
0
|
| Watchers: |
2
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
Environment:
|
Windows 2000, Jdk1.4.2, Tomcat4.1.29
|
|
| Resolution Date: |
15/Aug/08 09:35 PM
|
|
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
|
|
Description
|
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
|
Show » |
|
I've recently been talking about ways to reduce memory usage with someone else on the user list. I've add the highlights of that conversation to the VelocityFAQ:
See http://wiki.apache.org/jakarta-velocity/VelocityFAQ
If you have further questions about it, feel free to ask on the velocity-user@jakarta.apache.org list.
peace,
nathan