This is a question that comes up fairly often. The error message logically sounds like the problem is that your Mac doesn't have enough memory (RAM), but I've yet to hear of an instance where this was actually the problem.
In every case the problem turned out to be that the user's hard drive was too full and it was at the point where either a large amount of data had to be offloaded from the drive and, in the case of a rotating disk hard drive, then erased (and, even better, the hard drive then defragmented), or the drive needed to be replaced with a new, much bigger, drive. (DO NOT try and defragment or erase an SSD!)
You should note that when a rotating disk hard drive is around 80% full (as yours is), it's going to start becoming problematic:
Macintosh Routine Maintenance
Item #5 and Note #1
Or, if you have an SSD, they are done when they are around 70% full:
"In practice, an SSD’s performance begins to decline after it reaches about 50% full."
https://www.seagate.com/tech-insights/ssd-over-provisioning-benefits-master-ti/
"The rule of thumb to keep SSDs at top speeds is to never completely fill them up. To avoid performance issues, you should never use more than 70% of its total capacity.
...
"When you’re getting close to the 70% threshold, you should consider upgrading your computer’s SSD with a larger drive."
Why solid-state drive (SSD) performance slows down as it becomes full - Pureinfotech
In every case the problem turned out to be that the user's hard drive was too full and it was at the point where either a large amount of data had to be offloaded from the drive and, in the case of a rotating disk hard drive, then erased (and, even better, the hard drive then defragmented), or the drive needed to be replaced with a new, much bigger, drive. (DO NOT try and defragment or erase an SSD!)
You should note that when a rotating disk hard drive is around 80% full (as yours is), it's going to start becoming problematic:
Macintosh Routine Maintenance
Item #5 and Note #1
Or, if you have an SSD, they are done when they are around 70% full:
"In practice, an SSD’s performance begins to decline after it reaches about 50% full."
https://www.seagate.com/tech-insights/ssd-over-provisioning-benefits-master-ti/
"The rule of thumb to keep SSDs at top speeds is to never completely fill them up. To avoid performance issues, you should never use more than 70% of its total capacity.
...
"When you’re getting close to the 70% threshold, you should consider upgrading your computer’s SSD with a larger drive."
Why solid-state drive (SSD) performance slows down as it becomes full - Pureinfotech