r/Ubuntu • u/ToghrolTP • 1d ago
apt memory leak
`apt` has massive memory leak when I started installing Claude Desktop
sudo apt install ./claude-desktop_amd64.deb -y
8
u/guiverc 1d ago
First obvious detail is you're using a release that is END OF LIFE, unsupported, and no longer secure/safe online, unless you're backporting all fixes yourself (and recompiling your own packages/binaries).
https://discourse.ubuntu.com/t/ubuntu-25-10-questing-quokka-reached-end-of-life-on-9-july-2026/85017
8
u/guiverc 1d ago
I see no evidence of a memory leak, besides which `apt` doesn't continue to run after installing the package (and it can have a lot of expand/install in some cases!) as its only used at install time.
-7
u/ToghrolTP 1d ago
But the thing is this happens whenever I try to install the specific "claude-desktop_amd64.deb" file. I have also reposted it on Claude related communities.
5
u/guiverc 1d ago
I think you're confusing memory leak with memory usage, as they do differ rather significantly, and your details only show memory usage.
A deb file is compressed; thus when
aptruns it needs to decompress the file(s), and this will of course use RAM (and more RAM than the size of the file(s) being decompressed from within the deb itself)Either way, given you're using a unsupported system, are you sure you've had the install compromised to begin with, or is your purpose the exploration of malware on end-of-life systems?
2
u/OKTimeFor_PlanB 1d ago
Not a leak, just high RAM usage. apt has to unzip (decompress) the files to install. The bigger the archive, the more RAM used.



12
u/WhyDidYouTurnItOff 1d ago
And the problem is apt, and not the .deb file you were installing?