How many ram will be needed for my app?

Hi I have website that is robot for Instagram and doing some background job for every 10 min and every 30 min
and its per user and per account of each user,
and my server have 20 workers(i think we should call it threads :slight_smile: )
so my server now running with 386mb ram
how many do you think need for good performance?
now with this server it hasnot a good and fast performance :frowning: