This repository has been archived by the owner on Feb 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
java.lang.OutOfMemoryError: Java heap space from SimpleRenderer #65
Labels
Comments
Hey @daynok 👋 |
Stack trace:
Q. Is there a limit on no of pages that GS can process at once? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Trying to evaluate ghost4j but am getting an outofmemory error on ghost4j 1.0.1
My env:
64 bit linux (arch)
Java 1.8.0_131
Tried multiple times to attach pdf to this ticket.. github kept giving me errors so created a repo with support files
https://github.com/daynok/ghost4j-outofmemory
Ran pdfinfo on the pdf and as far as I can tell it looks good. Also opened the pdf in firefox without issue.
From what I can tell the outofmemory error gets thrown at
renderer.render(document);
I'm not sure if I'm doing something wrong programmatically or what.
End goal, convert pdf pages to png's.
package com.medata;
import java.io.File;
import org.ghost4j.document.PDFDocument;
import org.ghost4j.renderer.SimpleRenderer;
public class Driver {
The text was updated successfully, but these errors were encountered: