pdf report generator error

4 次查看(过去 30 天)
I am trying to generate a simple pdf report, but get java OutOfMemoryError
>> d = Document('test', 'pdf');
>> append(d,'hello');
>> close(d)
Error using rptgen.utils.FOPProxy/newFOPImpl (line 238) Java exception occurred: java.lang.OutOfMemoryError: Java heap space
Error in rptgen.utils.FOPProxy/foToPDFImpl (line 191) fop = newFOPImpl(h, fopOutputStream, basePath, locale, extraFonts);
Error in rptgen.utils.FOPProxy.foToPDF (line 84) foToPDFImpl(h, foPath, pdfPath, locale, extraFonts, cleanupFonts);

采纳的回答

Amanda Figueroa
Amanda Figueroa 2019-8-19
I was looking into this and found the direct answer :
That fixed it for me.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Java Package Integration 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by