From d88b17f110e6d3e9683c316d460ae5e6e2ed4f1b Mon Sep 17 00:00:00 2001 From: Simon Steiner Date: Tue, 5 Jan 2016 13:57:02 +0000 Subject: [PATCH] FOP-2505: SVG -> PDF throws java.lang.OutOfMemoryError: Java heap space git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1723072 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/pdf/PDFPattern.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/fop/pdf/PDFPattern.java b/src/java/org/apache/fop/pdf/PDFPattern.java index 7acffa0c9..6602f544d 100644 --- a/src/java/org/apache/fop/pdf/PDFPattern.java +++ b/src/java/org/apache/fop/pdf/PDFPattern.java @@ -321,7 +321,7 @@ public class PDFPattern extends PDFPathPaint { if (pdfStream != null) { length += pdfStream.outputStreamData(encodedStream, stream); } - + patternDataStream = null; return length; } -- 2.39.5