aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Steiner <ssteiner@apache.org>2016-01-05 13:57:02 +0000
committerSimon Steiner <ssteiner@apache.org>2016-01-05 13:57:02 +0000
commitd88b17f110e6d3e9683c316d460ae5e6e2ed4f1b (patch)
treee1bc5335227cd18de41a198683427abb7c3853ba
parent795513063942836989c5a6af998909e8e5c4ea76 (diff)
downloadxmlgraphics-fop-d88b17f110e6d3e9683c316d460ae5e6e2ed4f1b.tar.gz
xmlgraphics-fop-d88b17f110e6d3e9683c316d460ae5e6e2ed4f1b.zip
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
-rw-r--r--src/java/org/apache/fop/pdf/PDFPattern.java2
1 files changed, 1 insertions, 1 deletions
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;
}