[Gvsig_english] error when creating pdf-file

Maximilian Hartl maximilian.hartl at googlemail.com
Tue Jul 22 12:34:27 CEST 2008


Hello list!

I am just working on a map of the city of munich with several layers. When
I'm trying to export the map to a pdf file on a scale of 1:75000 the
following error message occured:


PluginServices.Error grave de la aplicación.
 Es conveniente que salgas de la aplicación

PluginServices.Error grave de la aplicación. Es conveniente que salgas de la
aplicación java.lang.OutOfMemoryError: Java heap space
    com.lowagie.text.pdf.ByteBuffer.append_i(Unknown Source)
    com.lowagie.text.pdf.ByteBuffer.append(Unknown Source)
    com.lowagie.text.pdf.ByteBuffer.formatDouble(Unknown Source)
    com.lowagie.text.pdf.ByteBuffer.append(Unknown Source)
    com.lowagie.text.pdf.ByteBuffer.append(Unknown Source)
    com.lowagie.text.pdf.PdfContentByte.lineTo(Unknown Source)
    com.lowagie.text.pdf.PdfGraphics2D.followPath(Unknown Source)
    com.lowagie.text.pdf.PdfGraphics2D.fill(Unknown Source)
    com.iver.cit.gvsig.fmap.core.v02.FGraphicUtilities.DrawShape(Unknown
Source)     com.iver.cit.gvsig.fmap.core.v02.FSymbol.draw(Unknown Source)
    com.iver.cit.gvsig.fmap.core.FGeometry.draw(Unknown Source)
    com.iver.cit.gvsig.fmap.operations.strategies.ShpStrategy.print(Unknown
Source)     com.iver.cit.gvsig.fmap.layers.FLyrVect.print(Unknown Source)
    com.iver.cit.gvsig.fmap.layers.FLayers.print(Unknown Source)
    com.iver.cit.gvsig.fmap.layers.FLayers.print(Unknown Source)
    com.iver.cit.gvsig.fmap.MapContext.print(Unknown Source)
    com.iver.cit.gvsig.gui.layout.fframes.FFrameView.printX(Unknown Source)
    com.iver.cit.gvsig.gui.layout.fframes.FFrameView.draw(Unknown Source)
    com.iver.cit.gvsig.gui.layout.fframes.FFrameView.print(Unknown Source)
    com.iver.cit.gvsig.gui.layout.Layout.drawLayoutPrint(Unknown Source)
    com.iver.cit.gvsig.Print.drawShapes(Unknown Source)
    com.iver.cit.gvsig.Print.print(Unknown Source)
    com.iver.cit.gvsig.project.documents.layout.FLayoutDraw.toPDF(Unknown
Source)     com.iver.cit.gvsig.gui.layout.Layout.layoutToPDF(Unknown Source)
    com.iver.cit.gvsig.gui.layout.Layout.layoutToPDF(Unknown Source)
    com.iver.cit.gvsig.ExportLayoutExtension.execute(Unknown Source)
    com.iver.andami.plugins.ExtensionDecorator.execute(Unknown Source)
    com.iver.andami.ui.mdiFrame.MDIFrame.actionPerformed(Unknown Source)
    javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    javax.swing.DefaultButtonModel.setPressed(Unknown Source)


I have already tested it on a scale of 1:50000 and it did work properly.

This is due to a polygon layer with street names which has a size of 270
megabytes, I'm sure, because the pdf export works properly without that
certain layer.

Has anyone an idea where the problem is? Or is the layer simply too "fat"
for that scale of 1:75000? Unfortunately I need the map on that scale
because I want to print a map of the whole city.

Best regards

Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://runas.cap.gva.es/pipermail/gvsig_internacional/attachments/20080722/34ffed2b/attachment.htm


More information about the Gvsig_internacional mailing list