Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

大量识别图片后,内存不断增长,直至OOM #10

Open
loulaner opened this issue Nov 8, 2023 · 1 comment
Open

大量识别图片后,内存不断增长,直至OOM #10

loulaner opened this issue Nov 8, 2023 · 1 comment

Comments

@loulaner
Copy link

loulaner commented Nov 8, 2023

环境: ubuntu1~20.04.2
硬件配置:4c 8g
onnxruntime: 1.16.1
OpenCV: 4.8.0
RapidOcr-Java: 0.0.4

客户端使用RapidOcr-Java,大量识别不同图片后,看到java 堆外内存在不断增加(过程中没有发现内存回收的情况),直至OOM,请问是什么原因?

@xu8117
Copy link

xu8117 commented Aug 8, 2024

image
[E:onnxruntime:, sequential_executor.cc:494 onnxruntime::ExecuteKernel] Non-zero status code returned while running Mul node. Name:'p2o.Mul.6' Status Message: D:\a\OnnxruntimeBuilder\OnnxruntimeBuilder\onnxruntime-v1.14.0\onnxruntime\core\framework\bfc_arena.cc:368 onnxruntime::BFCArena::AllocateRawInternal Failed to allocate memory for requested buffer of size 4432855040

我也是同样的问题,连续识别就会OOM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants