Skip to content

Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.

refactor: comment out clean_memory function call

myhloli2b6e94424cbc
diff --git a/magic_pdf/pdf_parse_union_core_v2.py b/magic_pdf/pdf_parse_union_core_v2.py
index b226e8d3..576fc2b3 100644
--- a/magic_pdf/pdf_parse_union_core_v2.py
+++ b/magic_pdf/pdf_parse_union_core_v2.py
@@ -825,7 +825,7 @@ def pdf_parse_union(
'pdf_info': pdf_info_list,
}
- clean_memory()
+ # clean_memory()
return new_pdf_info_dict