gdb uses way too much memory on my Linux machine – I’ve allocated 2GB to this LXC virtual machine, but that’s not enough.
Is there anything I can do apart from selectively uninstalling -debuginfo packages, which will effectively blind me if a problem turns out to involve those packages?
This was due to an issue in a CVS version of gdb. Downgrading gdb solved it.