LostRuins / koboldcpp

Run GGUF models easily with a KoboldAI UI. One File. Zero Install.
https://github.com/lostruins/koboldcpp
GNU Affero General Public License v3.0
5.29k stars 362 forks source link

Memory leak in v1.78 #1227

Closed jojorne closed 1 hour ago

jojorne commented 3 hours ago

If you open and close it a few times, eventually the system will crash. In v1.77 this behavior does not exist. The memory returns to the value before launch.

Operating System: Linux KDE Plasma Version: 6.2.3 KDE Frameworks Version: 6.8.0 Qt Version: 6.8.0 Kernel Version: 6.11.9 (64-bit) Graphics Platform: X11

LostRuins commented 2 hours ago

It's not possible for an executable to leak memory beyond it's lifespan.

if you run htop, can you see exactly what processes are using the memory? If a process is killed, the memory is always returned to the system.

jojorne commented 1 hour ago

image

Yea... The python3 was stuck even on reboot. I had to do a cold reset. I cleared the build cache and rebuilt it. So far, so good.

Probably it was a symptom of my previous issue, sorry.