Hello Frankie,
I think this all depends on usage. I would performance test the app for realistic usage and monitor how your environment is doing and how much of your resources it’s using.
I’ve been cloud servers varying from 0.5 GB to 4 GB Java heap and honestly I’ve not had any problems with any upwards of 2GB.
FYI: I think you wrote KB instead of MB in your question
Hope this helps