Replies: 2 comments
|
@dreram can you please provide the output of |
|
Thank you for the update. (venv) PS C:\projects\pythonServices\pdfService> docling --version Explanation: Any advise on how to automate this, for example from java spring boot back end. Thanks |
Uh oh!
There was an error while loading. Please reload this page.
I keep getting this memory error for bad_alloc. THis occurs at random for the same file at random times. For the same file, it occurs some times and does not occur some other times. I am runng docling -v -vv input.pdf outputDir
Here is a part of the error messages I am getting:
2026-07-19 21:19:03,467 DEBUG httpcore.http11: receive_response_body.complete
2026-07-19 21:19:03,467 DEBUG httpcore.http11: response_closed.started
2026-07-19 21:19:03,467 DEBUG httpcore.http11: response_closed.complete
2026-07-19 21:19:03,542 INFO docling.utils.accelerator_utils: Accelerator device: 'cpu'
2026-07-19 21:19:05,042 INFO docling.pipeline.base_pipeline: Processing document embedded-images-tables.pdf
2026-07-19 21:19:05,112 DEBUG pypdfium2._lazy: Evaluating lazy import 'PIL.Image' ...
2026-07-19 21:19:06,287 ERROR docling.pipeline.standard_pdf_pipeline: Stage preprocess failed for run 1, pages [1]: std::bad_alloc
2026-07-19 21:19:06,290 DEBUG docling.pipeline.standard_pdf_pipeline: Added 1 failed/skipped pages to document: [1]
2026-07-19 21:19:06,293 INFO docling.document_converter: Finished converting document embedded-images-tables.pdf in 7.24 sec.
2026-07-19 21:19:06,293 WARNING docling.cli.main: Document C:\Users\drera\AppData\Local\Temp\tmp06ccej_3\embedded-images-tables.pdf failed to convert.
2026-07-19 21:19:06,293 INFO docling.cli.main: [Failure Detail] Component: DoclingComponentType.MODEL, Module: preprocess, Message: std::bad_alloc
2026-07-19 21:19:06,293 INFO docling.cli.main: Processed 1 docs, of which 1 failed
2026-07-19 21:19:06,300 INFO docling.cli.main: All documents were converted in 7.25 seconds.
Is there some setting that can be altered for this to be corrected?
All reactions