java.lang.OutOfMemoryError: Requested array size exceeds VM limit

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.OutOfMemoryError: Requested array size exceeds VM limit
at java.lang.reflect.Array.newArray(Native Method)
at WegFetZ.CustomMusic.GlobalData.resizeArray(GlobalData.java:22)
at WegFetZ.CustomMusic.GlobalData.setArraySize(GlobalData.java:12)
at WegFetZ.CustomMusic.CustomMusic.onEnable(CustomMusic.java:38)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:451)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)

Users with the same issue

Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.