Hi.
You can check this chapter of the docs, as it explains how to fine tune the memory used by the Java Virtual Machine. But please only edit those values if the server starts complaining about OutOfMemory errors, as increasing too much the used memory could destabilize your server.