Put the summary of the bug you're having here
What I expected to happen was...:
I expected the server to take less than 2 gigabytes of RAM with nobody on.
What actually happened was...:
The server took 4 gigabytes of RAM with nobody on.
Steps to Reproduce:
Run a Minecraft server. Give it 6 gigabytes of memory. To run the plugin needed, you will require Bukkit or Spigot.
Install the plugin HeapDump.
Create a heap dump.
Look at the heap dump using the Eclipse Memory Analyzer. Please note that the dump will be large, and you will need at least 2 gigabytes of RAM to view it without it running out of memory.
Look at suspected leaks. For me it showed 4 leaks that all were related to java.net.URLClassLoader.
Get a few players on the server for a few hours. Have them do things like mine and build. Not sure if this will do anything, but try to have them localized in the same area, with one or two further away.
Wait for the server to run out of memory.
Crash time
Thank you for your report!
However, this issue is Invalid.
Your game, launcher or server is modified.
If you can reproduce the issue in a vanilla environment, please recreate the issue.
Any non-standard client/server/launcher build needs to be taken up with the appropriate team, not Mojang.
Any plugin issues need to be addressed to the creator of the plugin or resource pack.
If you have problems on large servers, such as The Hive and Hypixel, please contact them first as they run modified server software.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki