Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这是重现该问题的 github 存储库。
一个主要问题是内存Arelle 内存使用情况。即使是小文件(ProppropriationsAccountPackage.xbrl - 46Mb)也需要大约 7+Gb RAM 内存并且无法处理(向 postgers 导入或查看静止文件)。
有没有办法优化 arelle 内存使用?
我没有弄清楚是什么问题,但是从 python 更新3.5到 python3.7.5解决了这个问题。
3.5
3.7.5
例如 dockerfile 应该以:
FROM python:3.7.5-alpine