Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
710
PDF - Out of Memory Exception
posted

Hi all,

Until now I had no problem with creating a PDF from an UltraGrid

But lately, and for no apparent reason, since nothing was changed in the dev environment, under certain conditios (number of lines, I guess) I get the following exception

The max number of lines in the grid is 2900 rows by 10 columns.

Again, this is a new error, since until now the code was working OK...my env is VS 2008 Pro.

Infragistics2.Win.v8.2
    Versión del ensamblado: 8.2.20082.2022
    Versión Win32: 8.2.20082.2022
    Código base: file:///C:/Windows/assembly/GAC_MSIL/Infragistics2.Win.v8.2/8.2.20082.2022__7dd5c3163f2cd0cb/Infragistics2.Win.v8.2.dll
----------------------------------------
Infragistics2.Shared.v8.2
    Versión del ensamblado: 8.2.20082.2022
    Versión Win32: 8.2.20082.2022
    Código base: file:///C:/Windows/assembly/GAC_MSIL/Infragistics2.Shared.v8.2/8.2.20082.2022__7dd5c3163f2cd0cb/Infragistics2.Shared.v8.2.dll
----------------------------------------
Infragistics2.Win.UltraWinTabbedMdi.v8.2
    Versión del ensamblado: 8.2.20082.2022
    Versión Win32: 8.2.20082.2022
    Código base: file:///C:/Windows/assembly/GAC_MSIL/Infragistics2.Win.UltraWinTabbedMdi.v8.2/8.2.20082.2022__7dd5c3163f2cd0cb/Infragistics2.Win.UltraWinTabbedMdi.v8.2.dll

System.OutOfMemoryException: Se produjo una excepción de tipo 'System.OutOfMemoryException'.
   en Infragistics.Documents.TTF.Font.GetDataUnsafe(Font font)
   en Infragistics.Documents.TTF.Font.GetData(Font font)
   en Infragistics.Documents.Graphics.Font.ToStream()
   en Infragistics.Documents.PDF.PdfDocument.GetFont(Font font, Boolean embed, Boolean subset)
   en Infragistics.Documents.PDF.PdfPage.GetFont(Font font, Boolean embed, Boolean subset)
   en Infragistics.Documents.PDF.PdfGraphics.set_Font(Font value)
   en Infragistics.Documents.Report.Projection.Text.TextComposition.Draw(IGraphics graphics)
   en Infragistics.Documents.Report.Projection.Composition.Draw(IGraphics graphics)
   en Infragistics.Documents.Report.Projection.Composition.Draw(IGraphics graphics)
   en Infragistics.Documents.Report.Projection.Composition.Draw(IGraphics graphics)
   en Infragistics.Documents.Report.Projection.Composition.Draw(IGraphics graphics)
   en Infragistics.Documents.Report.Projection.Composition.Draw(IGraphics graphics)
   en Infragistics.Documents.Report.Projection.Composition.Draw(IGraphics graphics)
   en Infragistics.Documents.Report.Projection.Composition.Draw(IGraphics graphics)
   en Infragistics.Documents.Report.Projection.Composition.Draw(IGraphics graphics)
   en Infragistics.Documents.Report.Projection.Composition.Draw(IGraphics graphics)
   en Infragistics.Documents.Report.Projection.Composition.Draw(IGraphics graphics)
   en Infragistics.Documents.Report.Projection.Tree.NodeComposition.Draw(IGraphics graphics)
   en Infragistics.Documents.Report.Projection.Tree.NodeComposition.Draw(IGraphics graphics)
   en Infragistics.Documents.Report.Projection.Composition.Draw(IGraphics graphics)
   en Infragistics.Documents.Report.Projection.Composition.Draw(IGraphics graphics)
   en Infragistics.Documents.Report.Projection.Composition.Draw(IGraphics graphics)
   en Infragistics.Documents.Report.Projection.Composition.Draw(IGraphics graphics)
   en Infragistics.Documents.Report.Projection.Composition.Draw(IGraphics graphics)
   en Infragistics.Documents.Report.Projection.ProjectionPage.Draw(IGraphics graphics)
   en Infragistics.Documents.Report.Report.Publish(Stream stream, FileFormat format)
   en Infragistics.Documents.Report.Report.Publish(String fileName, FileFormat format)

Thanks in advance!

Gus

Parents Reply Children
No Data