Jump to content

Java Heap Space, Help Much Appreciated, Can't Figure it out thus far


OwnAgePau

Recommended Posts

Hi there, i have been trying to find out what the problem is that causes my minecraft java to run out of heap space. I read on the forums that theres a way to increase the Eclipse heap space although this had no effect on it. Also tried using a fresh jar which didn't help anything aswell the problem stayed, i also tried making a new project which didn't fix it aswell. I think the problem lies somewhere within my code but i don't know where the only thing that i have created is a custom tree gen file which i will paste in underneath.

But when i comment out my code inside this file the heap space error stays, so i don't see what the problem is as it was working before.

 

This is the crash report :

 

 

---- Minecraft Crash Report ----

// Surprise! Haha. Well, this is awkward.

 

Time: 27-6-13 16:01

Description: Exception in server tick loop

 

java.lang.OutOfMemoryError: Java heap space

at net.minecraft.util.AABBPool.getAABB(AABBPool.java:50)

at net.minecraft.block.Block.getCollisionBoundingBoxFromPool(Block.java:593)

at net.minecraft.block.Block.addCollisionBoxesToList(Block.java:559)

at net.minecraft.world.World.getCollidingBoundingBoxes(World.java:1686)

at net.minecraft.entity.player.EntityPlayerMP.<init>(EntityPlayerMP.java:178)

at net.minecraft.server.management.ServerConfigurationManager.createPlayerForUser(ServerConfigurationManager.java:383)

at net.minecraft.server.integrated.IntegratedServerListenThread.networkTick(IntegratedServerListenThread.java:91)

at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:677)

at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:573)

at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:127)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:470)

at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)

 

 

A detailed walkthrough of the error, its code path and all known details is as follows:

---------------------------------------------------------------------------------------

 

-- System Details --

Details:

Minecraft Version: 1.5.2

Operating System: Windows 7 (x86) version 6.1

Java Version: 1.7.0_17, Oracle Corporation

Java VM Version: Java HotSpot Client VM (mixed mode), Oracle Corporation

Memory: 55312 bytes (0 MB) / 1060372480 bytes (1011 MB) up to 1060372480 bytes (1011 MB)

JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M

AABB Pool Size: 12741895 (713546120 bytes; 680 MB) allocated, 12741895 (713546120 bytes; 680 MB) used

Suspicious classes: FML and Forge are installed

IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 63

FML: MCP v7.51 FML v5.2.23.737 Minecraft Forge 7.8.1.737 4 mods loaded, 4 mods active

mcp{7.51} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

FML{5.2.23.737} [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

Forge{7.8.1.737} [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

myOresMod{1.7} [soul Forest Mod] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

Profiler Position: N/A (disabled)

Vec3 Pool Size: 36 (2016 bytes; 0 MB) allocated, 36 (2016 bytes; 0 MB) used

Player Count: 0 / 8; []

Type: Integrated Server (map_client.txt)

Is Modded: Definitely; Client brand changed to 'fml,forge'

 

 

 

This is my custom tree gen file:

 

 

package Mod_Ores.BiomeGen;

 

import java.util.Random;

 

import Mod_Ores.mod_Ores;

 

import net.minecraft.block.Block;

import net.minecraft.src.*;

import net.minecraft.util.Direction;

import net.minecraft.util.Facing;

import net.minecraft.world.*;

import net.minecraft.world.gen.feature.WorldGenerator;

import net.minecraftforge.common.ForgeDirection;

 

public class WorldGenHardwoodTrees  extends WorldGenerator

{

private int height = 7;

private int leaveHeight = height;

private int ylevel = -1;

public String side;

 

public WorldGenHardwoodTrees(Random h)

{

this.height += h.nextInt(4);

}

 

@Override

public boolean generate(World world, Random random, int x, int y, int z)

{

while (world.isAirBlock(x, y, z) && y > 2 && y < 100)

{

--y;

--y;

}

 

/*while (world.getBlockId(x, y, z) == mod_Ores.soulLiquidStillID && y > 2 && y < 100)

{

++y;

++y;

}*/

 

int l = world.getBlockId(x, y, z);

 

        if (l != mod_Ores.LateriteGrass.blockID)

        {

            return false;

        }

     

        /*if (l != mod_Ores.LateriteDirt.blockID)

        {

            return false;

        }

       

        if (l == mod_Ores.LateriteDirt.blockID)

        {

        this.height += 3;

        }*/

       

        // This will generate the water under the tree

        //waterBathGen(world, x, y, z);

       

        int x1;

        int y1;

        int z1;

 

        // Random Height

        for(y1 = 0; y1 < (height + 1); y1++)

        {       

        world.setBlock(x, y + y1, z, mod_Ores.SoulLog.blockID);

        }

       

        // tree trunk

        if(ylevel == -1)

        {

        world.setBlockToAir(x + 2, y + ylevel, z + 3);

        world.setBlockToAir(x - 1, y + ylevel, z + 4);

        world.setBlockToAir(x - 2, y + ylevel, z);

        world.setBlockToAir(x - 3, y + ylevel, z + 1);

        world.setBlockToAir(x - 3, y + ylevel, z + 2);

        world.setBlockToAir(x - 4, y + ylevel, z + 2);

       

        world.setBlock(x + 2, y + ylevel, z + 3, mod_Ores.SoulLog.blockID);

        world.setBlock(x - 1, y + ylevel, z + 4, mod_Ores.SoulLog.blockID);

        world.setBlock(x - 2, y + ylevel, z, mod_Ores.SoulLog.blockID);

        world.setBlock(x - 3, y + ylevel, z + 1, mod_Ores.SoulLog.blockID);

        world.setBlock(x - 3, y + ylevel, z + 2, mod_Ores.SoulLog.blockID);

        world.setBlock(x - 4, y + ylevel, z + 2, mod_Ores.SoulLog.blockID);

        ylevel++;

        }

       

        if(ylevel == 0)

        {

        world.setBlockToAir(x + 3, y + ylevel, z + 2);

        world.setBlockToAir(x + 1, y + ylevel, z + 2);

        world.setBlockToAir(x - 1, y + ylevel, z);

        world.setBlockToAir(x - 2, y + ylevel, z + 2);

        world.setBlockToAir(x - 2, y + ylevel, z + 3);

        world.setBlockToAir(x - 3, y + ylevel, z - 1);

               

        world.setBlock(x + 3, y + ylevel, z + 2, mod_Ores.SoulLog.blockID);

        world.setBlock(x + 1, y + ylevel, z + 2, mod_Ores.SoulLog.blockID);

        world.setBlock(x - 1, y + ylevel, z, mod_Ores.SoulLog.blockID);

        world.setBlock(x - 2, y + ylevel, z + 2, mod_Ores.SoulLog.blockID);

        world.setBlock(x - 2, y + ylevel, z + 3, mod_Ores.SoulLog.blockID);

        world.setBlock(x - 3, y + ylevel, z - 1, mod_Ores.SoulLog.blockID);

        ylevel++;

        }

       

        if(ylevel == 1)

        {

        world.setBlockToAir(x + 3, y + ylevel, z + 1);

        world.setBlockToAir(x, y + ylevel, z - 1);

        world.setBlockToAir(x - 2, y + ylevel, z + 2);

        world.setBlockToAir(x - 2, y + ylevel, z - 2);

        world.setBlockToAir(x - 2, y + ylevel, z - 3);

       

        world.setBlock(x + 3, y + ylevel, z + 1, mod_Ores.SoulLog.blockID);

        world.setBlock(x, y + ylevel, z - 1, mod_Ores.SoulLog.blockID);

        world.setBlock(x - 2, y + ylevel, z + 2, mod_Ores.SoulLog.blockID);

        world.setBlock(x - 2, y + ylevel, z - 2, mod_Ores.SoulLog.blockID);

        world.setBlock(x - 2, y + ylevel, z - 3, mod_Ores.SoulLog.blockID);

        ylevel++;

        }

       

        if(ylevel == 2)

        {

        world.setBlockToAir(x + 2, y + ylevel, z);

        world.setBlockToAir(x - 1, y + ylevel, z + 1);

        world.setBlockToAir(x - 1, y + ylevel, z - 2);

       

        world.setBlock(x + 2, y + ylevel, z, mod_Ores.SoulLog.blockID);

        world.setBlock(x - 1, y + ylevel, z + 1, mod_Ores.SoulLog.blockID);

        world.setBlock(x - 1, y + ylevel, z - 2, mod_Ores.SoulLog.blockID);

        ylevel++;

        }

       

        if(ylevel == 3)

        {

        world.setBlockToAir(x + 1, y + ylevel, z);

        world.setBlockToAir(x - 1, y + ylevel, z - 1);

       

        world.setBlock(x + 1, y + ylevel, z, mod_Ores.SoulLog.blockID);

        world.setBlock(x - 1, y + ylevel, z - 1, mod_Ores.SoulLog.blockID);

        }             

       

        // The leaves that should spawn

        genTop(world, x, y + height + 1, z + 1, "EAST", true);

        genTop(world, x + 4, y + leaveHeight + 3, z + 2, "SOUTH", false);

        genTop(world, x - 3, y + leaveHeight - 1, z - 1, "NORTH", false);

        genTop(world, x + 2, y + leaveHeight + 1, z - 3, "WEST", false);

       

        // NORTH

        world.setBlock(x - 1, y + leaveHeight - 2, z, mod_Ores.SoulLog.blockID);

        world.setBlock(x - 2, y + leaveHeight - 1, z - 1, mod_Ores.SoulLog.blockID);

       

        // WEST

        world.setBlock(x + 1, y + leaveHeight, z - 1, mod_Ores.SoulLog.blockID);

        world.setBlock(x + 2, y + leaveHeight + 1, z - 2, mod_Ores.SoulLog.blockID);

       

        // SOUTH

        world.setBlock(x + 1, y + leaveHeight + 1, z + 1, mod_Ores.SoulLog.blockID);

        world.setBlock(x + 2, y + leaveHeight + 2, z + 2, mod_Ores.SoulLog.blockID);

        world.setBlock(x + 3, y + leaveHeight + 3, z + 2, mod_Ores.SoulLog.blockID);

       

return true;

}

 

/** This takes care of the rendering of the leaves

*

* @param world the world obj

* @param x The x-cord

* @param y the y-cord

* @param z the z-cord

* @param side the side it should go

* @param mid if the topGenMid should be rendered

*/

public void genTop(World world, int x, int y, int z, String side, Boolean mid)

{

int x1 = 0;

int y1 = 0;

int z1 = 0;

 

int x2 = 0;

int z2 = 0;

Random rand = new Random();

 

// This is the base block of the top

world.setBlock(x , y, z, mod_Ores.SoulLog.blockID);

 

// Desides what side it should go

if(side == "SOUTH") // -x

{

world.setBlock(x - 1, y, z, mod_Ores.SoulLog.blockID);

x2 = -1;

}

else if(side == "NORTH") // +x

{

world.setBlock(x + 1, y, z, mod_Ores.SoulLog.blockID);

x2 = +1;

}

else if(side == "EAST") // -z

{

world.setBlock(x, y, z - 1, mod_Ores.SoulLog.blockID);

z2 = -1;

}

else if(side == "WEST") // +z

{

world.setBlock(x, y, z + 1, mod_Ores.SoulLog.blockID);

z2 = +1;

}

 

// 1e layer

if(mid == false)

{

for(y1 = 0; y1 < 2; y1++)

{

for(x1 = -1; x1 < 2; x1++)

{

for(z1 = -1; z1 < 2; z1++)

{

world.setBlock((x + x2 + x1), (y + y1), (z + z2 + z1), mod_Ores.SoulLeaves.blockID);

 

//a random empty corner

if(rand.nextInt(4) == 0)

{

world.setBlockToAir(x2 + 1, y + 1, z2 + 1);

}

else if (rand.nextInt(4) == 1)

{

world.setBlockToAir(x2 + 1, y + 1, z2 - 1);

}

else if (rand.nextInt(4) == 2)

{

world.setBlockToAir(x2 - 1, y + 1, z2 + 1);

}

else if (rand.nextInt(3) == 3)

{

world.setBlockToAir(x2 - 1, y + 1, z2 - 1);

}

}

}

}

}

else

{

for(y1 = 0; y1 < 2; y1++)

{

for(x1 = -2; x1 < 3; x1++)

{

for(z1 = -2; z1 < 3; z1++)

{

world.setBlock((x + x2 + x1), (y + y1), (z + z2 + z1), mod_Ores.SoulLeaves.blockID);

 

//a random empty corner

if(rand.nextInt(4) == 0)

{

world.setBlockToAir(x2 + 2, y + 1, z2 + 2);

}

else if (rand.nextInt(4) == 1)

{

world.setBlockToAir(x2 + 2, y + 1, z2 - 2);

}

else if (rand.nextInt(4) == 2)

{

world.setBlockToAir(x2 - 2, y + 1, z2 + 2);

}

else if (rand.nextInt(3) == 3)

{

world.setBlockToAir(x2 - 2, y + 1, z2 - 2);

}

}

}

}

}

 

// 2e layer

if(mid == false)

{

for(x1 = 0; x1 < 1; x1++)

{

for(z1 = 0; z1 < 1; z1++)

{

world.setBlock((x + x2 - x1), (y + 2), (z + z2 - z1), mod_Ores.SoulLeaves.blockID);

}

}

}

else

{

for(x1 = -1; x1 < 2; x1++)

{

for(z1 = -1; z1 < 2; z1++)

{

world.setBlock((x + x2 - x1), (y - 1), (z + z2 - z1), mod_Ores.SoulLeaves.blockID);

}

}

 

for(x1 = -1; x1 < 2; x1++)

{

for(z1 = -1; z1 < 2; z1++)

{

world.setBlock((x + x2 - x1), (y + 2), (z + z2 - z1), mod_Ores.SoulLeaves.blockID);

}

}

 

for(x1 = 0; x1 < 1; x1++)

{

for(z1 = 0; z1 < 1; z1++)

{

world.setBlock((x + x2 - x1), (y + 3), (z + z2 - z1), mod_Ores.SoulLeaves.blockID);

}

}

}

}

 

/** This takes care of the rendering of the water under the tree

*

* @param world the world obj

* @param x the x-cord

* @param y the y-cord

* @param z the z-cord

*/

public void waterBathGen(World world, int x, int y, int z)

{

/*int x1 = 0;

int y1 = 0;

int z1 = 0;

 

int x2 = 0;

int z2 = 0;

 

int x3 = 0;

int z3 = 0;

Random rand = new Random();

Boolean spawn = false;

 

for(y1 = -2; y1 < -1; y1++)

{

for(z1 = -4; z1 < 5; z1++)

{

for(x1 = 0; x1 < 7; z1++)

{

if(world.isAirBlock(x + x1, y + y1, z + z1))

{

spawn = false;

}

else

{

spawn = true;

}

}

}

}

 

/*if(spawn)

{

for(y1 = -2; y1 < 1; y1++)

{

for(z1 = -4; z1 < 5; z1++)

{

for(x1 = 0; x1 < 3; x1++)

{

world.setBlock(x + x1, y, z + z1, mod_Ores.SoulWater.blockID);

world.setBlock(x - 1, y, z + 1, mod_Ores.SoulWater.blockID);

world.setBlock(x - 1, y, z + 1, mod_Ores.SoulWater.blockID);

world.setBlock(x - 1, y, z - 3, mod_Ores.SoulWater.blockID);

 

for(z2 = -2; z2 < 4; z2++)

{

for(x2 = 3; x2 < 5; x2++)

{

world.setBlock(x + x2, y, z + z2, mod_Ores.SoulWater.blockID);

world.setBlock(x + 3, y, z - 3, mod_Ores.SoulWater.blockID);

 

for(x3 = 5; x3 < 7; x3++)

{

for(z3 = 1; z2 < 3; z3++)

{

world.setBlock(x + x2, y, z + z2, mod_Ores.SoulWater.blockID);

world.setBlock(x + 7, y, z + 1, mod_Ores.SoulWater.blockID);

world.setBlock(x + 5, y, z, mod_Ores.SoulWater.blockID);

}

}

}

}

}

}

}

}*/

}

}

 

 

Link to comment
Share on other sites

just wondering, how many memory (RAM, usually between 1 and 8) does your machine have?  have you change machine between the time it was workign and since it stoped working ?

how to debug 101:http://www.minecraftforge.net/wiki/Debug_101

-hydroflame, author of the forge revolution-

Link to comment
Share on other sites

Okay i have removed the Hardwoodtree file, and set the java heap space back to what it was before i started increasing it to get rid of the java heap space error.. This is still a java heap space error but it might be a bit more usefull.

 

 

 

---- Minecraft Crash Report ----

// I bet Cylons wouldn't have this problem.

 

Time: 27-6-13 17:06

Description: Exception ticking world entities

 

java.lang.OutOfMemoryError: Java heap space

 

 

A detailed walkthrough of the error, its code path and all known details is as follows:

---------------------------------------------------------------------------------------

 

-- Affected level --

Details:

Level name: Test

All players: 1 total; [EntityPlayerMP['Player647'/14, l='Test', x=251,50, y=57,00, z=253,50]]

Chunk stats: ServerChunkCache: 625 Drop: 0

Level seed: 554422617310108838

Level generator: ID 00 - default, ver 1. Features enabled: true

Level generator options:

Level spawn location: World: (256,64,256), Chunk: (at 0,4,0 in 16,16; contains blocks 256,0,256 to 271,255,271), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)

Level time: 39 game time, 39 day time

Level dimension: 0

Level storage version: 0x04ABD - Anvil

Level weather: Rain time: 110989 (now: false), thunder time: 148067 (now: false)

Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true

Stacktrace:

at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:659)

at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:573)

at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:127)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:470)

at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)

 

-- System Details --

Details:

Minecraft Version: 1.5.2

Operating System: Windows 7 (x86) version 6.1

Java Version: 1.7.0_17, Oracle Corporation

Java VM Version: Java HotSpot Client VM (mixed mode, sharing), Oracle Corporation

Memory: 8912920 bytes (8 MB) / 259522560 bytes (247 MB) up to 259522560 bytes (247 MB)

JVM Flags: 0 total;

AABB Pool Size: 1844 (103264 bytes; 0 MB) allocated, 74 (4144 bytes; 0 MB) used

Suspicious classes: FML and Forge are installed

IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 63

FML: MCP v7.51 FML v5.2.23.737 Minecraft Forge 7.8.1.737 4 mods loaded, 4 mods active

mcp{7.51} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

FML{5.2.23.737} [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

Forge{7.8.1.737} [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

myOresMod{1.7} [soul Forest Mod] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

Profiler Position: N/A (disabled)

Vec3 Pool Size: 876 (49056 bytes; 0 MB) allocated, 24 (1344 bytes; 0 MB) used

Player Count: 1 / 8; [EntityPlayerMP['Player647'/14, l='Test', x=251,50, y=57,00, z=253,50]]

Type: Integrated Server (map_client.txt)

Is Modded: Definitely; Client brand changed to 'fml,forge'

 

 

Link to comment
Share on other sites

your code seem to be crashing at this

at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:659)

 

are you "soul" block/liquid/plant/etc doing any kind of recursion or massive object creation/method call ???

how to debug 101:http://www.minecraftforge.net/wiki/Debug_101

-hydroflame, author of the forge revolution-

Link to comment
Share on other sites

your code seem to be crashing at this

at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:659)

 

are you "soul" block/liquid/plant/etc doing any kind of recursion or massive object creation/method call ???

It sounds more like he's using a lot of memory (somehow), but not quite enough to cause an error, then when Minecraft wants to start building the pool, it runs out.

BEWARE OF GOD

---

Co-author of Pentachoron Labs' SBFP Tech.

Link to comment
Share on other sites

Well the problem here is, i had a crash after i wanted to add liquids in my creation of this tree and it indeed wanted to create lots of it. So i then immidiately removed it and it seemed to work fine after it, untill it suddenly didn't want to load a new world anymore. Please help me figure this out.

Link to comment
Share on other sites

Well the problem here is, i had a crash after i wanted to add liquids in my creation of this tree and it indeed wanted to create lots of it. So i then immidiately removed it and it seemed to work fine after it, untill it suddenly didn't want to load a new world anymore. Please help me figure this out.

What's the error?

BEWARE OF GOD

---

Co-author of Pentachoron Labs' SBFP Tech.

Link to comment
Share on other sites

Well, the errors are all listed above, but what i can't understand is that everything worked before i started working on this tree. Then while i was working on the tree and kept testing my world creation over and over again to see if i was doing it right, and when the tree was done it was all fine. The water worked once and then crashed i did something wrong there which i then noticed. So i removed it and didn't add any water at all (commented it out) but after that i made another world and it didn't seem to give any problems. Untill the day after when i started it up again suddenly it wouldn't let me create a new world or visit my existing once.

 

If it is something that is being created a lot i have no idea what, cause i have tried removing this hole tree-file that i made that day. And yet it won't work, while i haven't changed a single other thing. I also tried refreshing my minecraft.jar file and making a new mcp folder + forge etc etc, then run without my mod, everything works fine. I put in my mod files and i get the error again, now i can't even run my minecraft (It just says java heap space error).

 

Sorry if it is a lot to read. I was just confused when i woke up willing to continue working on that true while all of a sudden it wouldn't work anymore.

Link to comment
Share on other sites

Well, the errors are all listed above, but what i can't understand is that everything worked before i started working on this tree. Then while i was working on the tree and kept testing my world creation over and over again to see if i was doing it right, and when the tree was done it was all fine. The water worked once and then crashed i did something wrong there which i then noticed. So i removed it and didn't add any water at all (commented it out) but after that i made another world and it didn't seem to give any problems. Untill the day after when i started it up again suddenly it wouldn't let me create a new world or visit my existing once.

 

If it is something that is being created a lot i have no idea what, cause i have tried removing this hole tree-file that i made that day. And yet it won't work, while i haven't changed a single other thing. I also tried refreshing my minecraft.jar file and making a new mcp folder + forge etc etc, then run without my mod, everything works fine. I put in my mod files and i get the error again, now i can't even run my minecraft (It just says java heap space error).

 

Sorry if it is a lot to read. I was just confused when i woke up willing to continue working on that true while all of a sudden it wouldn't work anymore.

That just sounds like you don't have enough memory on your computer. Or perhaps you have a virus. Either way, there's nothing I can do.

BEWARE OF GOD

---

Co-author of Pentachoron Labs' SBFP Tech.

Link to comment
Share on other sites

My pc has 4GB of ram, and minecraft somehow goes out of memory... Now it says "Ticking Entity" as an error and right before that it says "Fetching addPacket for removed entity" 4 times

 

Also when i create a new world this error is created:

 

 

 

---- Minecraft Crash Report ----

// Surprise! Haha. Well, this is awkward.

 

Time: 27-6-13 16:01

Description: Exception in server tick loop

 

java.lang.OutOfMemoryError: Java heap space

at net.minecraft.util.AABBPool.getAABB(AABBPool.java:50)

at net.minecraft.block.Block.getCollisionBoundingBoxFromPool(Block.java:593)

at net.minecraft.block.Block.addCollisionBoxesToList(Block.java:559)

at net.minecraft.world.World.getCollidingBoundingBoxes(World.java:1686)

at net.minecraft.entity.player.EntityPlayerMP.<init>(EntityPlayerMP.java:178)

at net.minecraft.server.management.ServerConfigurationManager.createPlayerForUser(ServerConfigurationManager.java:383)

at net.minecraft.server.integrated.IntegratedServerListenThread.networkTick(IntegratedServerListenThread.java:91)

at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:677)

at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:573)

at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:127)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:470)

at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)

 

 

A detailed walkthrough of the error, its code path and all known details is as follows:

---------------------------------------------------------------------------------------

 

-- System Details --

Details:

Minecraft Version: 1.5.2

Operating System: Windows 7 (x86) version 6.1

Java Version: 1.7.0_17, Oracle Corporation

Java VM Version: Java HotSpot Client VM (mixed mode), Oracle Corporation

Memory: 55312 bytes (0 MB) / 1060372480 bytes (1011 MB) up to 1060372480 bytes (1011 MB)

JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M

AABB Pool Size: 12741895 (713546120 bytes; 680 MB) allocated, 12741895 (713546120 bytes; 680 MB) used

Suspicious classes: FML and Forge are installed

IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 63

FML: MCP v7.51 FML v5.2.23.737 Minecraft Forge 7.8.1.737 4 mods loaded, 4 mods active

mcp{7.51} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

FML{5.2.23.737} [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

Forge{7.8.1.737} [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

myOresMod{1.7} [soul Forest Mod] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

Profiler Position: N/A (disabled)

Vec3 Pool Size: 36 (2016 bytes; 0 MB) allocated, 36 (2016 bytes; 0 MB) used

Player Count: 0 / 8; []

Type: Integrated Server (map_client.txt)

Is Modded: Definitely; Client brand changed to 'fml,forge'

 

 

 

I keep finding EntityMP in there... I guess it keeps trying to spawn me but that doesn't work?

 

Is there someone who would want to help me find the problem in my code? as theres probably something I'm missing. Or are there any files that you might want to see?

Link to comment
Share on other sites

I tried commenting out entities but that didn't do a think it still keeps crashing when trying to create the player. I have no idea why it does that and where it came from. If theres someone willing to help out by looking at the code that would be MUCH appreciated.

Link to comment
Share on other sites

well if you want, zip and give me all your files (i mean ALL) i have different hardware ill try and see if i can figure it out.

 

warning you , i can only try this tonight (7 hours after the time of this posting)

how to debug 101:http://www.minecraftforge.net/wiki/Debug_101

-hydroflame, author of the forge revolution-

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.