My ./ contains the following line:

JAVA_OPTS="-server -Xms128M -Xmx256M -XX:MaxPermSize=256m"

But I keep getting out of memory errors after a while, so I figured I
need to increase the memory

Do I adjust the Xms and Xmx lines?

Or does that MaxPermSize also need to be adjusted?

We have a lot of memory in the server, but we have potentially 3,000-
4,000 users hitting the app a day.