[英]How set up arelle for large xbrl files?
Here is a github repository to reproduce the issue.这是一个 github 存储库来重现该问题。
A main problem is memory Arelle memory usage.一个主要问题是 memory Arelle memory 的使用。 Even small files (AppropriationsAccountPackage.xbrl - 46Mb) take about 7+Gb RAM memory and failed to proces (bith import to postgers or view file in rest).
即使是小文件(ProppropriationsAccountPackage.xbrl - 46Mb)也需要大约 7+Gb RAM memory 并且无法处理(向 postgers 导入或查看静止文件)。
Is there a way to optimize arelle memory usage?有没有办法优化 arelle memory 的使用?
I did not figured out what issue was, but updating from python 3.5
to python 3.7.5
fixed the problem.我没有弄清楚是什么问题,但是从 python
3.5
更新到 python 3.7.5
解决了这个问题。
Eg dockerfile should be started with:例如 dockerfile 应该以:
FROM python:3.7.5-alpine从 python:3.7.5-alpine
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.