What would I do? With that model I would NOT add RAM. Based on thousands of post here, RAM is not your issue.
For 95+% of reports of slow iMacs made from 2012 through 2019, the under-spec, slow mechanical hard drive that Apple used as the base storage option is the problem. You can spend thousands having the computer torn down and RAM added and not make one perceivable change in felt performance if your hard drive is the same spec as all the others.
Ask these question:
- Is my computer slow to start up?
- Are my big apps slow to load/launch
- Once launched, do my apps run OK?
Three "yes" answers screams "under-spec factor mech hard drive," not "starved for RAM." RAM vendors would like you to think otherwise, but their recommendations do not fit data.
Here are app launch data I captured from another Mac model with similar historic hard drive issues, as I first doubled the RAM, then changed the slow factory mechanical drive for a solid-state drive (SSD):
Base:
4GB RAM and slow SATA 3GBps 5400rpm hard drive: Office and Photoshop Elements took 15-18 seconds to be ready to use.
First upgrade, double the RAM:
8GB RAM and slow SATA 3GBps 5400rpm hard drive: Office and Photoshop Elements took 15-18 seconds to be ready to use.
Second upgrade, inexpensive solid-state drive
8GB RAM and SATA 6GBps SSD: Office and Photoshop Elements take under 4 seconds to be ready to use.
So which helped most? As a note, that computer has never tested as starved for RAM with only 8GB RAM.
If you want a targeted analysis of your situation based on hard data for RAM usage, drive performance, and software effects, please post a system snapshot. Fortunately there is a safe, secure way to do that. EtreCheck Pro is available here:
https://etrecheck.com/index
The free version will do nicely for this purpose, although the app is worthy of our financial support.
We can see hard data about drive performance, software issues, and RAM usage. Etrecheck is the development of a long-serving and trusted contributor here, created expressly for displaying information in these forums to help us help you remotely. It will not reveal any personal or secure information.
See this excellent user tip on posting text reports like EtreCheck's in this incarantion of the forum software:
How to use the Add Text Feature When Post… - Apple Community
If it proves to be your hard drive, there is a cost-effective workaround that does not require opening the sealed case. Once we see data, we can advise whether that option is viable in your specific situation.