pdf report generator error

2 views (last 30 days)
Pavlo KOchkin
Pavlo KOchkin on 24 Apr 2018
Answered: Amanda Figueroa on 19 Aug 2019
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);

Accepted Answer

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

More Answers (0)

Categories

Find more on Java Package Integration in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!