allenai / allenai/pdffigures2

Malformed or complex PDFs cause an out-of-memory exception.

Aperta
#13 1 commento 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
Scala
Stelle
759
Fork
130
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

The program fails with an out-of-memory exception when processing some particularly complex pdfs. The memory requirement can be quite large, exceeding 10 GB for a single pdf of relatively small filesize, thus failing regardless of the amount of memory assigned to the jvm.

A temporary work-around is use a script to process just one pdf at a time (while catching memory exceptions), however a lot of time is lost to repeatedly firing up and closing the jvm.

A more desirable behaviour would be for pdffigures to abort the current pdf after a predefined memory usage is exceeded and proceed with others.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.