I don't know. I'm running 16gb with 8gb of swap just fine.
Couple dozen tabs open in librewolf (across multiple windows), android studio with an emulator and some other utils. All under KDE Plasma on nixos unstable and it's fine. It could be better, but it's good enough.
Most of them aren't maintained anymore. Like Dialer, which lineageos patches up to work properly on newer versions (https://lineageos.org/Changelog-28/).
With recent releases CorePatch can spoof app source, but it won't help with keyboard whitelist.