Bug 7285 - out of memory failure
Summary: out of memory failure
Status: CLOSED DUPLICATE of bug 1063
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: pdf (show other bugs)
Version: 0.20.3
Hardware: PC Linux
: P3 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-20 14:18 UTC by Andreas Maikisch
Modified: 2012-04-01 13:48 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Maikisch 2002-03-20 14:18:08 UTC
after compiling a fo file i get a out of memory error
error:
host2:/var/www/domains/controlling-
portal.at/8/Einfuehrung/10# /usr/local/daten/src/java/fop-0.20.3/fop.sh -
fo /var/www/domains/controlling-
portal.at/8/Einfuehrung/10/tmp.fo /var/www/domains/controlling-
portal.at/8/Einfuehrung/10/10.pdf


host2:/var/www/domains/controlling-portal.at/8/Einfuehrung/10# 
ls                                                             10.shtml  
10.xml  tmp.fo  tmp.html
host2:/var/www/domains/controlling-
portal.at/8/Einfuehrung/10# /usr/local/daten/src/java/fop-0.20.3/fop.sh -
fo /var/www/domains/controlling-
portal.at/8/Einfuehrung/10/tmp.fo /var/www/domains/controlling-
portal.at/8/Einfuehrung/10/10.pdf
[INFO]: FOP 0.20.3
[INFO]: building formatting object tree
[INFO]: [1]
[INFO]: [2]
Exception in thread "main" java.lang.OutOfMemoryError: ZIP002:OutOfMemoryError, 
MEM_ERROR in deflate_init2
        at java.util.zip.Deflater.init(Native Method)
        at java.util.zip.Deflater.<init>(Deflater.java:103)
        at java.util.zip.Deflater.<init>(Deflater.java:120)
        at java.util.zip.DeflaterOutputStream.<init>
(DeflaterOutputStream.java:78)
        at org.apache.fop.pdf.FlateFilter.encode(FlateFilter.java:74)
        at org.apache.fop.pdf.PDFStream.applyFilters(PDFStream.java:248)
        at org.apache.fop.pdf.PDFStream.output(PDFStream.java:197)
        at org.apache.fop.pdf.PDFDocument.output(PDFDocument.java:1202)
        at org.apache.fop.render.pdf.PDFRenderer.render(PDFRenderer.java:708)
        at org.apache.fop.apps.StreamRenderer.queuePage(StreamRenderer.java:217)
        at org.apache.fop.layout.AreaTree.addPage(AreaTree.java:81)
        at org.apache.fop.fo.pagination.PageSequence.format
(PageSequence.java:307)
        at org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:200)
        at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:182)
        at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1398)
        at org.apache.xerces.validators.common.XMLValidator.callEndElement
(XMLValidator.java:1019)
        at 
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch
(XMLDocumentScanner.java:1201)
        at org.apache.xerces.framework.XMLDocumentScanner.parseSome
(XMLDocumentScanner.java:381)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:948)
        at org.apache.fop.apps.Driver.render(Driver.java:481)
        at org.apache.fop.apps.CommandLineStarter.run
(CommandLineStarter.java:72)
        at org.apache.fop.apps.Fop.main(Fop.java:19)

The file id like to compile:
<?xml version="1.0" encoding="ISO-8859-1" ?><fo:root 
xmlns:fo="http://www.w3.org/1999/XSL/Format"><!-- Creator="html2fo" 
Version="0.4.2" -->
<fo:layout-master-set><fo:simple-page-master margin-right="2.0cm" margin-
left="2.0cm" margin-bottom="1.0cm" margin-top="1.0cm" page-width="21cm" page-
height="29.7cm" master-name="first"><fo:region-before 
extent="1.5cm"/><fo:region-body margin-bottom="1.5cm" margin-
top="1.5cm"/><fo:region-after extent="1.0cm"/></fo:simple-page-
master></fo:layout-master-set><fo:page-sequence master-reference="first" 
language="en" hyphenate="true">


<fo:static-content flow-name="xsl-region-before">
<fo:block line-height="12pt" font-size="10pt" space-before.optimum="1.5pt" 
space-after.optimum="1.5pt" keep-together="always">Stand des Controlling in 
NPOs</fo:block></fo:static-content>

<fo:static-content flow-name="xsl-region-after">
<fo:block line-height="12pt" font-size="10pt" space-before.optimum="1.5pt" 
space-after.optimum="1.5pt" keep-together="always">

        ... the footer should be inserted here ...

</fo:block></fo:static-content>

<fo:flow flow-name="xsl-region-body"><fo:table table-layout="fixed">
<fo:table-column column-width="16.30cm"/>
<fo:table-body>
<fo:table-row><fo:table-cell margin-right="10pt" margin-left="10pt" margin-
bottom="10pt" margin-top="10pt"><fo:block line-height="12pt" font-size="10pt" 
space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-
together="always">Stand des Controlling in NPOs</fo:block></fo:table-
cell></fo:table-row>
<fo:table-row><fo:table-cell margin-right="10pt" margin-left="10pt" margin-
bottom="10pt" margin-top="10pt"><fo:block line-height="12pt" font-size="10pt" 
space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always" 
text-align="start"></fo:block></fo:table-cell></fo:table-row>
<fo:table-row><fo:table-cell margin-right="10pt" margin-left="10pt" margin-
bottom="10pt" margin-top="10pt">
<fo:table text-align="start" table-layout="fixed">
<fo:table-column column-width="16.30cm"/>
<fo:table-body><fo:table-row><fo:table-cell><fo:external-graphic text-
align="start" src="/var/www/domains/controlling-portal.at/file_upload/NPO-
Entwicklungsstand-des-Contr.jpg"/></fo:table-cell></fo:table-row></fo:table-
body></fo:table>
<fo:block line-height="12pt" font-weight="bold" font-size="10pt" space-
before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always" text-
align="start">#Stand des Controlling in NPOs</fo:block>
<fo:block line-height="13pt" font-size="10pt" space-before.optimum="1.5pt" 
space-after.optimum="1.5pt" keep-together="always" text-
align="start"></fo:block><fo:block line-height="12pt" font-size="10pt" space-
before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always" text-
align="start">Im deutschsprachigen Raum liegen wenig empirische Ergebnisse über 
den tatsächlichen Entwicklungsstand des Controlling in NPOs 
vor.</fo:block><fo:block line-height="12pt" font-size="10pt" space-
before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always" text-
align="start">Eine umfangreiche Erhebung zum Controlling in NPOs in Österreich 
liefert ZISCHG in seinem Buch &#38;#8222;Controlling in Non-Profit-
Organisationen &#38;#8211; eine empirisch explorative Studie&#38;#8220;. Ziel 
seiner Untersuchung war es, die Anwendung von Controlling-Instrumenten und den 
Entwicklungsstand des Controlling in der Praxis von NPOs systematisch zu 
erfassen. Standardisierte Fragebögen wurden an 1.700 NPOs mit Rechtssitz in 
Österreich versendet. Die Rücklaufquote betrug 13,6 %. Die Untersuchung 
erfolgte in sämtlichen Branchen bzw. Tätigkeitsfeldern der NPOs. </fo:block>
<fo:block line-height="12pt" font-size="10pt" space-before.optimum="1.5pt" 
space-after.optimum="1.5pt" keep-together="always" text-align="start">Die 
wichtigsten Erkenntnisse:</fo:block><fo:list-block text-align="start" 
provisional-label-separation="3pt" provisional-distance-between-starts="14pt"> 
<fo:list-item><fo:list-item-label><fo:block line-height="12pt" font-size="10pt" 
space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always" 
text-align="start">-</fo:block></fo:list-item-label>
<fo:list-item-body start-indent="body-start()"><fo:block line-height="12pt" 
font-size="10pt" space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-
together="always" text-align="start">Einführungsgründe für Controlling(1)
<fo:inline white-space-collapse="false">
</fo:inline>87,5 % haben Controlling durch Eigeninitiative eingeführt und nicht 
aufgrund externen Drucks. Dabei waren die am häufigsten genannten Gründe zur 
Einführung von Controlling in die Organisation: zur Budgetüberwachung, 
Schaffung von Entscheidungsgrundlagen, sowie der Nachweis der 
Wirtschaftlichkeit.</fo:block></fo:list-item-body></fo:list-item></fo:list-
block><fo:list-block text-align="start" provisional-label-separation="3pt" 
provisional-distance-between-starts="14pt"> <fo:list-item><fo:list-item-
label><fo:block line-height="12pt" font-size="10pt" space-
before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always" text-
align="start">-</fo:block></fo:list-item-label>
<fo:list-item-body start-indent="body-start()"><fo:block line-height="12pt" 
space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always" 
text-align="start"><fo:inline font-size="10pt">Entwicklungsstand des Controlling
(2)</fo:inline><fo:inline white-space-collapse="false">
</fo:inline><fo:inline font-size="10pt">62,3 % gaben einen niedrigen 
Entwicklungsstand des Controlling an. Lediglich 2,4 % der befragten 
Organisationen sind der Auffassung, einen hohen Entwicklungsstand des 
Controlling vorzufinden. 35,3 % schätzen ihren Entwicklungsstand mittel 
ein.</fo:inline><fo:inline white-space-collapse="false">
</fo:inline><fo:inline font-size="10pt">Der Entwicklungsstand des Controlling 
kann in drei Kategorien eingeteilt werden:</fo:inline><fo:inline white-space-
collapse="false">
</fo:inline><fo:inline white-space-collapse="false">
</fo:inline><fo:inline font-size="10pt">(siehe Grafik)
</fo:inline></fo:block></fo:list-item-body></fo:list-item></fo:list-block>
</fo:table-cell></fo:table-row>
<fo:table-row><fo:table-cell margin-right="10pt" margin-left="10pt" margin-
bottom="10pt" margin-top="10pt">
<fo:table text-align="start" table-layout="fixed">
<fo:table-column column-width="16.30cm"/>
<fo:table-body><fo:table-row><fo:table-cell></fo:table-cell></fo:table-
row></fo:table-body></fo:table>
<fo:block line-height="12pt" font-weight="bold" font-size="10pt" space-
before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always" text-
align="start">#Die wichtigsten Erkenntnisse</fo:block>
<fo:block line-height="13pt" space-before.optimum="1.5pt" space-
after.optimum="1.5pt" keep-together="always" text-align="start"><fo:list-block 
text-align="start" provisional-label-separation="3pt" provisional-distance-
between-starts="14pt"> <fo:list-item><fo:list-item-label><fo:block line-
height="13pt" font-size="10pt" space-before.optimum="1.5pt" space-
after.optimum="1.5pt" keep-together="always" text-align="start">-
</fo:block></fo:list-item-label>
<fo:list-item-body start-indent="body-start()"><fo:block line-height="13pt" 
space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always" 
text-align="start"><fo:inline font-size="10pt">Anwendung der Controlling-
Instrumente</fo:inline><fo:inline white-space-collapse="false">
</fo:inline><fo:inline font-size="10pt">78,7 % wenden kein Kosten-Controlling 
(Kostenrechnung, Berichtswesen, Planung, Budgetierung) an, 8,4 % sporadisch 
bzw. selten und 12,9 % öfters bzw. regelmäßig. Am meisten werden die 
Instrumente Berichtswesen, Kostenartenrechnung, Kostenstellenrechnung zu 
Vollkosten, Erwartungsrechnung, kurzfristige Erfolgsrechnung sowie Soll-Ist-
Vergleiche angewendet. Die Prozesskostenrechnung und die Zielkostenrechnung 
sind kaum verbreitet. Auch Teilkostenrechnung und Deckungsbeitragsrechnung hat 
sich in den befragten Organisationen noch nicht durchgesetzt.(3)
</fo:inline><fo:inline white-space-collapse="false">
</fo:inline><fo:inline font-size="10pt">61,8 % der Befragten wenden keine non-
quantitativen Instrumente an, 19,4 % sporadisch bzw. selten und 18,9 % öfters 
bzw. regelmäßig. Am meisten angewendet werden die Instrumente 
Leitbilderstellung, Moderation, Gestaltung von Entscheidungsprozessen, 
Brainstorming, Formularwesen sowie Stellenbeschreibungen. 4,2 % arbeiten mit 
Qualitätssystemen, wobei 7,9 % selbst entwickelte Qualitätssysteme haben.(4)
</fo:inline></fo:block></fo:list-item-body></fo:list-item></fo:list-
block></fo:block><fo:list-block text-align="start" provisional-label-
separation="3pt" provisional-distance-between-starts="14pt"> <fo:list-
item><fo:list-item-label><fo:block line-height="12pt" font-size="10pt" space-
before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always" text-
align="start">-</fo:block></fo:list-item-label>
<fo:list-item-body start-indent="body-start()"><fo:block line-height="12pt" 
space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always" 
text-align="start"><fo:inline font-size="10pt">Resümee</fo:inline><fo:inline 
white-space-collapse="false">
</fo:inline><fo:inline font-size="10pt">Im Durchschnitt ist Controlling in NPOs 
nur zu rund 73 % verbreitet. Daher kommt der Bewusstseinsbildung hohe Bedeutung 
zu. ZISCHG schlägt dazu konkrete Schritte vor, wie zB Seminarangebote, 
vermehrte Forschung, Publikationen, etc.(5)</fo:inline><fo:inline white-space-
collapse="false">
</fo:inline><fo:inline font-size="10pt">Durch den Einsatz moderner Controlling-
Instrumente können die Grundsätze der Sparsamkeit, Wirtschaftlichkeit und 
Zweckmäßigkeit eingehalten und nachgewiesen werden. Gerade aber auch für 
Nonprofit Organisationen ist der Einsatz solcher Instrumente von besonderer 
Bedeutung.(6)</fo:inline><fo:inline white-space-collapse="false">
</fo:inline></fo:block></fo:list-item-body></fo:list-item></fo:list-block>
</fo:table-cell></fo:table-row>
<fo:table-row><fo:table-cell margin-right="10pt" margin-left="10pt" margin-
bottom="10pt" margin-top="10pt">
<fo:table text-align="start" table-layout="fixed">
<fo:table-column column-width="16.30cm"/>
<fo:table-body><fo:table-row><fo:table-cell></fo:table-cell></fo:table-
row></fo:table-body></fo:table>
<fo:block line-height="12pt" font-weight="bold" font-size="10pt" space-
before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always" text-
align="start">#Fußnoten</fo:block>
<fo:block line-height="13pt" space-before.optimum="1.5pt" space-
after.optimum="1.5pt" keep-together="always" text-align="start">
<fo:list-block text-align="start" provisional-label-separation="3pt" 
provisional-distance-between-starts="14pt">
 <fo:list-item><fo:list-item-label><fo:block line-height="13pt" font-
size="10pt" space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-
together="always" text-align="start">-</fo:block></fo:list-item-label>
<fo:list-item-body start-indent="body-start()"><fo:block line-height="13pt" 
font-size="10pt" space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-
together="always" text-align="start">vgl. Zischg 1998, S. 174
 </fo:block></fo:list-item-body></fo:list-item><fo:list-item><fo:list-item-
label><fo:block line-height="13pt" font-size="10pt" space-
before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always" text-
align="start">-</fo:block></fo:list-item-label>
<fo:list-item-body start-indent="body-start()"><fo:block line-height="13pt" 
font-size="10pt" space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-
together="always" text-align="start">vgl. Zischg 1998, S. 182f
 </fo:block></fo:list-item-body></fo:list-item><fo:list-item><fo:list-item-
label><fo:block line-height="13pt" font-size="10pt" space-
before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always" text-
align="start">-</fo:block></fo:list-item-label>
<fo:list-item-body start-indent="body-start()"><fo:block line-height="13pt" 
font-size="10pt" space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-
together="always" text-align="start">vgl. Zischg 1998, S. 397f
 </fo:block></fo:list-item-body></fo:list-item><fo:list-item><fo:list-item-
label><fo:block line-height="13pt" font-size="10pt" space-
before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always" text-
align="start">-</fo:block></fo:list-item-label>
<fo:list-item-body start-indent="body-start()"><fo:block line-height="13pt" 
font-size="10pt" space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-
together="always" text-align="start">vgl. Zischg 1998, S. 532
 </fo:block></fo:list-item-body></fo:list-item><fo:list-item><fo:list-item-
label><fo:block line-height="13pt" font-size="10pt" space-
before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always" text-
align="start">-</fo:block></fo:list-item-label>
<fo:list-item-body start-indent="body-start()"><fo:block line-height="13pt" 
font-size="10pt" space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-
together="always" text-align="start">vgl. Zischg 1998, S. 547
 </fo:block></fo:list-item-body></fo:list-item><fo:list-item><fo:list-item-
label><fo:block line-height="13pt" font-size="10pt" space-
before.optimum="1.5pt" space-after.optimum="1.5pt" keep-together="always" text-
align="start">-</fo:block></fo:list-item-label>
<fo:list-item-body start-indent="body-start()"><fo:block line-height="13pt" 
font-size="10pt" space-before.optimum="1.5pt" space-after.optimum="1.5pt" keep-
together="always" text-align="start">vgl. Zischg 1998, S. 557 
</fo:block></fo:list-item-body></fo:list-item></fo:list-block></fo:block>
</fo:table-cell></fo:table-row>
<fo:table-row><fo:table-cell margin-right="10pt" margin-left="10pt" margin-
bottom="10pt" margin-top="10pt"><fo:block line-height="12pt" space-
before.optimum="1.5pt" space-after.optimum="1.5pt" keep-
together="always"><fo:block line-height="12pt" space-before.optimum="1.5pt" 
space-after.optimum="1.5pt" keep-together="always">
<fo:inline font-weight="bold" font-
size="10pt">Autoren</fo:inline></fo:block><fo:inline white-space-
collapse="false">
</fo:inline><fo:inline font-size="10pt"><fo:basic-link color="#0000ff" text-
decoration="underline" external-destination="http://www.controlling-
portal.at/ControllinginNPOs/Experten/12/12.shtml">Franz  Ferner</fo:basic-
link></fo:inline><fo:inline white-space-collapse="false">
</fo:inline></fo:block></fo:table-cell></fo:table-row>
</fo:table-body></fo:table><fo:block space-before.optimum="1.5pt" space-
after.optimum="1.5pt" keep-together="always" id="LastPage" line-height="1pt" 
font-size="1pt"></fo:block></fo:flow>
</fo:page-sequence></fo:root>
Comment 1 J.Pietschmann 2002-04-22 09:23:49 UTC

*** This bug has been marked as a duplicate of 1063 ***
Comment 2 Glenn Adams 2012-04-01 13:48:56 UTC
batch transition to closed remaining pre-FOP1.0 resolved bugs