exadel-inc / exadel-inc/CompreFace
Increasing memory usage in Core
- Dominant language
- Java
- Stars
- 8.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
Core occupies memory until eventually taking all memory available.
**To Reproduce**
Steps to reproduce the behavior:
1. Run CompreFace (ArcFace GPU) in WSL2.
2. Consume the API for 4-5h (sometimes less).
**Expected behavior**
Continuous availability.
**Desktop (please complete the following information):**
- OS: Windows 10
- WSL2: Ubuntu 22.04
- Nvidia Geforce GTX 1060
- Nvidia Driver 516.94
- CUDA 11.7
- Docker 20.10.12
**Additional context**
Core occupies memory until eventually taking all memory available. Tried increasing available memory, but even 23GB (set via .wslconf) wasn't enough.
I'm running the ArcFace GPU custom build in Ubuntu 22.04 (WSL2 in Windows 10), but the same behavior happened in Ubuntu 20.04 (also in WSL2). Even tried using Docker Desktop, but the issue persists. I have less than 1K faces in the database now.
Tried to reduce memory allocated to JAVA (api and admin) to as low as 1GB for each, but the result was the same.
My temporary solution is to restart the container every 3 hours, but I can't keep doing it forever.
Contributor guide
Assessment
This issue has not been assessed yet.