You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by "Dániel Dékány (Jira)" <ji...@apache.org> on 2020/09/18 14:39:00 UTC

[jira] [Commented] (FREEMARKER-158) OutOfMemoryError issue encounterd while generating the html reports

    [ https://issues.apache.org/jira/browse/FREEMARKER-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17198380#comment-17198380 ] 

Dániel Dékány commented on FREEMARKER-158:
------------------------------------------

That's far to little information. So you may need to seek assistance from the developers of the application where this occurs first, and see if it's FreeMarker related at all. Related to FreeMarker, the most frequent cause of OutOfMemoryError is that the output of the template is written into a StringWriter or similar (so all the output is accumulated in the memory), instead of directly writing out the template output to its final place. That's up to the application that calls FreeMarker.

> OutOfMemoryError issue encounterd while generating the html reports
> -------------------------------------------------------------------
>
>                 Key: FREEMARKER-158
>                 URL: https://issues.apache.org/jira/browse/FREEMARKER-158
>             Project: Apache Freemarker
>          Issue Type: Bug
>    Affects Versions: 2.3.23
>            Reporter: Pratap Reddy
>            Priority: Critical
>
> java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space
>  at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_265]
>  at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_265]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)