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

Samebug tips

  1. ,
    via oracle.com by Unknown author

    An easy way to solve OutOfMemoryError in java is to increase the maximum heap size by using JVM options -Xmx512M, this will immediately solve your OutOfMemoryError.

  2. ,
    via Stack Overflow by Eugene Yokota

    In Eclipse : go to Run --> Run Configurations --> then select the project under maven build --> then select the tab "JRE" --> then enter -Xmx1024m.

    This should increase the memory heap for all the builds/projects. The above memory size is 1 GB.

Solutions on the web

via bukkit.org by Unknown author, 1 year ago
via JIRA by feng lu, 1 year ago
via pentaho.com by Unknown author, 1 year ago
via Google Groups by yn...@me.com (JIRA), 1 year ago
via Jenkins JIRA by Yngve Hammersland, 1 year ago
java.lang.OutOfMemoryError: Java heap space	at java.util.Arrays.copyOf(Arrays.java:2746)	at java.util.ArrayList.ensureCapacity(ArrayList.java:187)	at java.util.ArrayList.add(ArrayList.java:378)	at net.minecraft.server.AxisAlignedBB.b(SourceFile:25)	at net.minecraft.server.Block.e(Block.java:279)	at net.minecraft.server.Block.a(Block.java:271)	at net.minecraft.server.World.getEntities(World.java:979)	at net.minecraft.server.Entity.move(Entity.java:417)	at net.minecraft.server.EntityLiving.a(EntityLiving.java:751)	at net.minecraft.server.EntityLiving.d(EntityLiving.java:913)	at net.minecraft.server.EntityMonster.d(EntityMonster.java:27)	at net.minecraft.server.EntitySkeleton.d(EntitySkeleton.java:66)	at net.minecraft.server.EntityLiving.w_(EntityLiving.java:297)	at net.minecraft.server.EntityMonster.w_(EntityMonster.java:31)	at net.minecraft.server.World.entityJoinedWorld(World.java:1253)	at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:107)	at net.minecraft.server.World.playerJoinedWorld(World.java:1235)	at net.minecraft.server.World.tickEntities(World.java:1142)	at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:518)	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)	at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)