[ https://issues.apache.org/jira/browse/VELOCITY-833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claude Brisson resolved VELOCITY-833. ------------------------------------- Resolution: Fixed Assignee: Claude Brisson Fix Version/s: 2.x fixed by commit 1753736 > ASTStringLiteral.interpolateimage consumes large amounts of memory [PATCH] > -------------------------------------------------------------------------- > > Key: VELOCITY-833 > URL: https://issues.apache.org/jira/browse/VELOCITY-833 > Project: Velocity > Issue Type: Bug > Components: Engine > Affects Versions: 1.7 > Reporter: Alexander Veit > Assignee: Claude Brisson > Priority: Critical > Labels: memory_leak > Fix For: 2.x > > Attachments: VELOCITY-833.patch > > > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org For additional commands, e-mail: dev-h...@velocity.apache.org