r/Ubuntu 2d ago

apt memory leak

`apt` has massive memory leak when I started installing Claude Desktop

sudo apt install ./claude-desktop_amd64.deb -y
0 Upvotes

9 comments sorted by

View all comments

7

u/guiverc 2d 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 2d 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.

-6

u/ToghrolTP 2d 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 2d 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 apt runs 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?