Beta 2: File copy to RAID fills all RAM and crashes the system

Hi,

I’m experiencing a serious issue with Beta 2.

When copying a large amount of data from a USB HDD to the internal HDDs configured in RAID, the system gradually consumes all available RAM. It also fills the swap completely, and eventually the entire system becomes unresponsive and crashes.

In my case:

  • The system has 40 GB of RAM

  • RAM usage reaches almost 100%

  • Swap usage also reaches 100%

  • The issue occurs during a copy from an NTFS USB HDD to the RAID storage

  • The web interface and services stop responding

  • A forced reboot is required

The attached screenshot shows the situation shortly before the crash, with only around 181 MB of available RAM and the swap completely full.

This looks like a memory leak or an issue with filesystem caching that is not being released correctly during large file transfers. Normal Linux caching should not make the entire system unusable, especially once memory pressure increases.

Has anyone else experienced this issue on Beta 2? Please let me know which logs or diagnostic information would be useful to help investigate it.


Install ZimaBrain; it might give you some clues as to where to look for the problem. You clearly have some bugs. Or try a clean install of version 1.7.0 b1, then update to beta 2. I’m experiencing higher CPU and RAM usage and temperature, SWAP fluctuates between 50-100%, but no freezes.

I have a very similar issue since 1.7.0.
On big enough backup task (for example a Video directory of 500G), all available ram is rapidly consumed and then the process icewhale-files-backup is killed by OOOM Killer. The process is quickly restarted but the backup task is not resumed.

Smaller task of 20-30G are working fine.

My system has 16G of ram used @3737% before starting a backup task.

journalctl -xefu icewhale-files-backup:
Jul 29 20:23:43 ZimaOS systemd[1]: icewhale-files-backup.service: A process of this unit has been killed by the OOM killer.
Jul 29 20:23:43 ZimaOS systemd[1]: icewhale-files-backup.service: Main process exited, code=killed, status=9/KILL
Jul 29 20:23:43 ZimaOS systemd[1]: icewhale-files-backup.service: Failed with result ‘oom-kill’.
Jul 29 20:23:43 ZimaOS systemd[1]: icewhale-files-backup.service: Consumed 31.507s CPU time, 10.2G memory peak, 1.1G memory swap peak.
Jul 29 20:23:49 ZimaOS systemd[1]: icewhale-files-backup.service: Scheduled restart job, restart counter is at 5.
Jul 29 20:23:49 ZimaOS systemd[1]: Starting IceWhale Files Service…
Jul 29 20:23:49 ZimaOS icewhale-files-backup[2991556]: Successfully set rlimit
Jul 29 20:23:49 ZimaOS icewhale-files-backup[2991556]: git commit: cdafa1802a5aeec641e995510c61c821ad7f8b55
Jul 29 20:23:49 ZimaOS icewhale-files-backup[2991556]: build date: 2026-07-28T05:28:41Z