Please use a dedicated password manager, instead of a browser-based one. KeePass is likely the best going forward.
Out of curiosity, why KeePass versus Bitwarden? I've been using Bitwarden for years, but if there's a specific reason I should be using KeePass instead, I'm open to changing.
If it is a process, running in the same user context, with the ability to read/dump arbitrary memory -- As the KeePass database is decrypted it would "store all passwords in memory in plain text" too.
The fix isn't Edge Vs. Chrome. Vs KeePass Vs. Bitwarden, it is "How do I have my passwords exist in a different execution context than [evil process able to read all memory]?"
Android and iOS have an "answer" to this problem. Desktop OSs having all processes running side by side in the user's execution context, do not. It is only as secure as the least secure process running.
@taviso had claimed the exact opposite: https://lock.cmpxchg8b.com/passmgrs.html
EDIT: Yes, he claimed that for online password managers, not keepass. I thought the argument was about password managers in general.