Velocity
  1. Velocity
  2. VELOCITY-450

Reduce memory usage for Velocity templates

    Details

    • Type: Wish Wish
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.6
    • Component/s: Engine
    • Labels:
      None
    • Environment:
      Windows 2000, Jdk1.4.2, Tomcat4.1.29

      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

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            coumaravel
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development