Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

pdf.save() keeps working inflating the size upto 1G and works forever

$
0
0
Hello, In some cases where we add word documents, using the following code ByteArrayInputStream bais = new ByteArrayInputStream(docToString(fo).getBytes("UTF-8")); Pdf pdf = new Pdf(); pdf.bindFO(bais); pdf.save(out); save hangs and keep downloading to OutputStream out for ever, ending with corrupted pdf. Actually the file is 42kb, but why we end up 500MB or 1G and end up corrupted pdf? We don't have source code, may be you have some suggestions. Thanks. Selim.

Viewing all articles
Browse latest Browse all 3131

Trending Articles