Self propagating Viruses do not exist for macOS
Anything malware/adware macOS gets is when the user is tricked into installing it.
MalwareBytes does an excellent job of removing them, so if MalwareBytes is happy, then you are good.
Low memory could refer to 2 things.
Your boot disk storage is very low, so macOS cannot expand the /var/vm/swapfile(s)
or you have an application (or several applications) that have requested more virtual memory than macOS can manage in the RAM on your Mac. Virtual memory requires kernel based page tables. The more virtual memory the applications request, the more page tables that have to be created. Eventually the kernel decides that there is so much page table space taking up RAM that there is no longer room for applications code and data. Then macOS issue a message such as you saw.
Causes for apps asking for lots of virtual memory.
- App with a memory leak (ask for memory, use it, forget to give it back, ask for memory, use it, forget to give it back, wash, rinse, repeat)
- Apps such as image and video editing that are working with very large files, or lots of files that add up to lots of memory. Note it does not need to be image/video apps, it could be any app that works with very large files.
- A web browser that has a gazillion tabs open, with each tab consuming lots of RAM
- Just running lots and lots of reasonable memory using apps concurrently. Not 5 or 10, but say 50, 100, etc... It adds up.