interpolateimage is only used in the init method of ASTStringLiteral and thus should not be an instance member of this class.
The assignment
interpolateimage = image + " ";
is really bad since it allocates a new string objects that are responsible for a great part of the objects' retained heap size.
- relates to
-
VELOCITY-834 Velocity consumes too much heap memory [1]
-
- Closed
-