Basically I have a 40gb table which is not accessed frequently however, I only have 10gb left of RAM, which made me think that it was holding that table.
Total server RAM is 61GB, AWS Aurora.
Dian Fay may be correct about buffer pool. But I don't think it can take 50 Gb of RAM. Can it be your application that extracts data from DB and holds it in memory? I bet it is, especially if it is not Node.js or PHP app, but persistent daemon-like e.g. Java app.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.