Since yesterday i can’t use ag anymore, it blocks my vps and i need to restart the istance after some time. Looks like there’s a memory leak for AG services
Issue is back, i thought it was solved but today i have it again.
Thank you for the report. This strongly indicates a memory leak triggering an Out-of-Memory (OOM) crash on your VPS.
Could you please try these steps:
- Run dmesg | grep -i “killed” to confirm the OS is terminating the process due to memory limits.
- Limit the service’s RAM (e.g., set MemoryMax=80% in your Systemd file or use --memory in Docker). This ensures only the app crashes/restarts, not the entire VPS.
I confirmed the OOM crash. The command sudo journalctl -k -b -1 shows exactly that the language_server process consumed about 23GB of RAM before being killed by the OS. Log snippet: Out of memory: Killed process 4023829 (language_server) total-vm:33324176kB"
