Hi,
I am unable to load a stream of size greater than 2 GB into PDF.
The Code snippet for the same can be found below
PdfDocument doc = new PdfDocument();
FileInputStream is = new FileInputStream(input_path);
LOG.info("Length of input stream is : " + is.available() + " for path : " + input_path);
doc.loadFromStream(is);
The input path is the path where we have the PDF of size 2 GB.
Please provide any clarifications/suggestions for the same.