My application's cache keeps increasing

I’m facing cache issues within my application. Every time I perform a ‘reboot now’ on the server, the cache is reset. However, over time, the cache gradually increases until it occupies the entire RAM, causing the application to crash. Any ideas on why this might be happening?