setMaximumSize - Sets the maximum size of this component to a constant value. Setting the preferred size to null restores the default behavior.
Subsequent calls to getPreferredSize will always return this value. setPreferredSize - Sets the preferred size of this component to a constant value.Try allocating more space to your Minecraft server and check for any improvements. Once done, install the 64-bit Java JRE downloaded in the first step. Choose the 32-bit edition of Java and click on Uninstall.