Out of Memory (Mac)

Discussion in 'Bukkit Help' started by pwalsh, Apr 28, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    pwalsh

    Hey, I get this whenever I launch the server command.

    I am running 10.6.7 on a mid 2010 mac book pro.
    It happens on both x86 and x64
    I am running:
    Java(TM) SE Runtime Environment (build 1.6.0_24-b07-334-10M3326)
    Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02-334, mixed mode)

    I tried giving it different amounts of ram

    Bug:
    Last login: Thu Apr 28 19:00:19 on ttys000
    /Users/___/Desktop/Bukkit\ Server/LaunchServer.command ; exit;
    ___-MacBook-Pro:~ ___$ /Users/___/Desktop/Bukkit\ Server/LaunchServer.command ; exit;
    [Lnet.minecraft.server.Statistic;@49362012
    146 recipes
    [Lnet.minecraft.server.Statistic;@49362012
    16 achievements
    19:00:37 [INFO] Starting minecraft server version Beta 1.5_02
    19:00:37 [WARNING] **** NOT ENOUGH RAM!
    19:00:37 [WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
    19:00:37 [INFO] Loading properties
    19:00:37 [INFO] Starting Minecraft server on *:25565
    19:00:37 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-700-gf3ae4c3-b733jnks (MC: 1.5_02)
    19:00:37 [INFO] Preparing level "world"
    19:00:37 [INFO] Preparing start region
    19:00:38 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    19:00:38 [SEVERE] at java.util.Arrays.copyOf(Arrays.java:2786)
    19:00:38 [SEVERE] at sun.misc.Resource.getBytes(Resource.java:101)
    19:00:38 [SEVERE] at java.net.URLClassLoader.defineClass(URLClassLoader.java:257)
    19:00:38 [SEVERE] at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    19:00:38 [SEVERE] at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    19:00:38 [SEVERE] at java.security.AccessController.doPrivileged(Native Method)
    19:00:38 [SEVERE] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    19:00:38 [SEVERE] at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    19:00:38 [SEVERE] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    19:00:38 [SEVERE] at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    19:00:38 [SEVERE] at org.bukkit.craftbukkit.CraftChunk.getBlock(CraftChunk.java:65)
    19:00:38 [SEVERE] at org.bukkit.craftbukkit.CraftWorld.getBlockAt(CraftWorld.java:60)
    19:00:38 [SEVERE] at net.minecraft.server.World.k(World.java:377)
    19:00:38 [SEVERE] at net.minecraft.server.World.applyPhysics(World.java:362)
    19:00:38 [SEVERE] at net.minecraft.server.World.update(World.java:334)
    19:00:38 [SEVERE] at net.minecraft.server.World.setTypeId(World.java:306)
    19:00:38 [SEVERE] at net.minecraft.server.WorldGenLiquids.a(SourceFile:34)
    19:00:38 [SEVERE] at net.minecraft.server.ChunkProviderGenerate.getChunkAt(SourceFile:589)
    19:00:38 [SEVERE] at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:173)
    19:00:38 [SEVERE] at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:103)
    19:00:39 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:194)
    19:00:39 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    19:00:39 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
    19:00:39 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    19:00:39 [SEVERE] Unexpected exception
    java.lang.OutOfMemoryError: Java heap space
    at java.util.Arrays.copyOf(Arrays.java:2786)
    at sun.misc.Resource.getBytes(Resource.java:101)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:257)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at org.bukkit.craftbukkit.CraftChunk.getBlock(CraftChunk.java:65)
    at org.bukkit.craftbukkit.CraftWorld.getBlockAt(CraftWorld.java:60)
    at net.minecraft.server.World.k(World.java:377)
    at net.minecraft.server.World.applyPhysics(World.java:362)
    at net.minecraft.server.World.update(World.java:334)
    at net.minecraft.server.World.setTypeId(World.java:306)
    at net.minecraft.server.WorldGenLiquids.a(SourceFile:34)
    at net.minecraft.server.ChunkProviderGenerate.getChunkAt(SourceFile:589)
    at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:173)
    at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:103)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:194)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    >

    Any help would be greatly appreciated.
     
  2. ya, what does you .sh file say? looks like you are just clicking on that .jar...
    do you even have a .sh?!?
     
  3. Offline

    mughi

    edit: title change and post cleanup..

    your error is that you are out of memory..

    what command are you using to start the server, and how much physical memory do you have
     
  4. something tells me he either is using half a gig of ram, or nothing at all. look at the line that says launch it with -Xmx 1024M
    thast standard...
     
  5. Offline

    pwalsh

    It is one gig. Here's the command file:
    Code:
    cd ~/Desktop/Bukkit\ Server
    java -Xincgc -Xmx1024 -jar Craftbukkit.jar
    
    Server log:
    Code:
    2011-04-28 19:30:52 [INFO] Starting minecraft server version Beta 1.5_02
    2011-04-28 19:30:52 [WARNING] **** NOT ENOUGH RAM!
    2011-04-28 19:30:52 [WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
    2011-04-28 19:30:52 [INFO] Loading properties
    2011-04-28 19:30:52 [INFO] Starting Minecraft server on *:25565
    2011-04-28 19:30:52 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-700-gf3ae4c3-b733jnks (MC: 1.5_02)
    2011-04-28 19:30:52 [INFO] Preparing level "world"
    2011-04-28 19:30:52 [INFO] Preparing start region
    2011-04-28 19:30:53 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-04-28 19:30:53 [SEVERE]     at java.util.Arrays.copyOf(Arrays.java:2786)
    2011-04-28 19:30:53 [SEVERE]     at sun.misc.Resource.getBytes(Resource.java:101)
    2011-04-28 19:30:53 [SEVERE]     at java.net.URLClassLoader.defineClass(URLClassLoader.java:257)
    2011-04-28 19:30:53 [SEVERE]     at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    2011-04-28 19:30:53 [SEVERE]     at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    2011-04-28 19:30:53 [SEVERE]     at java.security.AccessController.doPrivileged(Native Method)
    2011-04-28 19:30:53 [SEVERE]     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    2011-04-28 19:30:53 [SEVERE]     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    2011-04-28 19:30:54 [SEVERE]     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    2011-04-28 19:30:54 [SEVERE]     at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    2011-04-28 19:30:54 [SEVERE]     at org.bukkit.craftbukkit.CraftChunk.getBlock(CraftChunk.java:65)
    2011-04-28 19:30:54 [SEVERE]     at org.bukkit.craftbukkit.CraftWorld.getBlockAt(CraftWorld.java:60)
    2011-04-28 19:30:54 [SEVERE]     at net.minecraft.server.World.k(World.java:377)
    2011-04-28 19:30:54 [SEVERE]     at net.minecraft.server.World.applyPhysics(World.java:362)
    2011-04-28 19:30:54 [SEVERE]     at net.minecraft.server.World.update(World.java:334)
    2011-04-28 19:30:54 [SEVERE]     at net.minecraft.server.World.setTypeId(World.java:306)
    2011-04-28 19:30:54 [SEVERE]     at net.minecraft.server.WorldGenLiquids.a(SourceFile:34)
    2011-04-28 19:30:54 [SEVERE]     at net.minecraft.server.ChunkProviderGenerate.getChunkAt(SourceFile:589)
    2011-04-28 19:30:54 [SEVERE]     at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:173)
    2011-04-28 19:30:54 [SEVERE]     at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:103)
    2011-04-28 19:30:54 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:194)
    2011-04-28 19:30:54 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    2011-04-28 19:30:54 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
    2011-04-28 19:30:54 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-04-28 19:30:54 [SEVERE] Unexpected exception
    java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOf(Arrays.java:2786)
        at sun.misc.Resource.getBytes(Resource.java:101)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:257)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        at org.bukkit.craftbukkit.CraftChunk.getBlock(CraftChunk.java:65)
        at org.bukkit.craftbukkit.CraftWorld.getBlockAt(CraftWorld.java:60)
        at net.minecraft.server.World.k(World.java:377)
        at net.minecraft.server.World.applyPhysics(World.java:362)
        at net.minecraft.server.World.update(World.java:334)
        at net.minecraft.server.World.setTypeId(World.java:306)
        at net.minecraft.server.WorldGenLiquids.a(SourceFile:34)
        at net.minecraft.server.ChunkProviderGenerate.getChunkAt(SourceFile:589)
        at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:173)
        at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:103)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:194)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-04-28 19:30:58 [INFO] Stopping server
    2011-04-28 19:30:58 [SEVERE] null
    java.io.IOException: Interrupted system call
        at java.io.FileInputStream.read(Native Method)
        at jline.Terminal.readCharacter(Terminal.java:99)
        at jline.UnixTerminal.readVirtualKey(UnixTerminal.java:128)
        at jline.ConsoleReader.readVirtualKey(ConsoleReader.java:1453)
        at jline.ConsoleReader.readBinding(ConsoleReader.java:654)
        at jline.ConsoleReader.readLine(ConsoleReader.java:494)
        at net.minecraft.server.ThreadCommandReader.run(ThreadCommandReader.java:28)
    
     
  6. try upping it to -Xmx2G
     
  7. Offline

    mughi

    Code:
    2011-04-28 19:30:53 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    
    this means you are out of memory.. add more physical ram, give java more ram, or remove some/all plugins
     
  8. Offline

    Jeyge

    That would be 1024 bytes I believe. Probably not enough to run everything. :)
     
  9. ahaha thats the problem. add a M to the end
     
  10. Offline

    pwalsh

    After 3 gigs of ram (only have four), still have problem:
    Code:
    Last login: Thu Apr 28 19:36:00 on ttys000
    /Users/__/Desktop/Bukkit\ Server/LaunchServer.command ; exit;
    __-MacBook-Pro:~ __$ /Users/___/Desktop/Bukkit\ Server/LaunchServer.command ; exit;
    [Lnet.minecraft.server.Statistic;@2f3adc56
    146 recipes
    [Lnet.minecraft.server.Statistic;@2f3adc56
    16 achievements
    19:36:46 [INFO] Starting minecraft server version Beta 1.5_02
    19:36:46 [WARNING] **** NOT ENOUGH RAM!
    19:36:46 [WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
    19:36:46 [INFO] Loading properties
    19:36:46 [INFO] Starting Minecraft server on *:25565
    19:36:46 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-700-gf3ae4c3-b733jnks (MC: 1.5_02)
    19:36:46 [INFO] Preparing level "world"
    19:36:46 [INFO] Preparing start region
    19:36:48 [INFO] Stopping server
    19:36:48 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    >logout
    
    [Process completed]
    
    log:
    Code:
    2011-04-28 19:30:52 [INFO] Starting minecraft server version Beta 1.5_02
    2011-04-28 19:30:52 [WARNING] **** NOT ENOUGH RAM!
    2011-04-28 19:30:52 [WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
    2011-04-28 19:30:52 [INFO] Loading properties
    2011-04-28 19:30:52 [INFO] Starting Minecraft server on *:25565
    2011-04-28 19:30:52 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-700-gf3ae4c3-b733jnks (MC: 1.5_02)
    2011-04-28 19:30:52 [INFO] Preparing level "world"
    2011-04-28 19:30:52 [INFO] Preparing start region
    2011-04-28 19:30:53 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-04-28 19:30:53 [SEVERE]     at java.util.Arrays.copyOf(Arrays.java:2786)
    2011-04-28 19:30:53 [SEVERE]     at sun.misc.Resource.getBytes(Resource.java:101)
    2011-04-28 19:30:53 [SEVERE]     at java.net.URLClassLoader.defineClass(URLClassLoader.java:257)
    2011-04-28 19:30:53 [SEVERE]     at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    2011-04-28 19:30:53 [SEVERE]     at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    2011-04-28 19:30:53 [SEVERE]     at java.security.AccessController.doPrivileged(Native Method)
    2011-04-28 19:30:53 [SEVERE]     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    2011-04-28 19:30:53 [SEVERE]     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    2011-04-28 19:30:54 [SEVERE]     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    2011-04-28 19:30:54 [SEVERE]     at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    2011-04-28 19:30:54 [SEVERE]     at org.bukkit.craftbukkit.CraftChunk.getBlock(CraftChunk.java:65)
    2011-04-28 19:30:54 [SEVERE]     at org.bukkit.craftbukkit.CraftWorld.getBlockAt(CraftWorld.java:60)
    2011-04-28 19:30:54 [SEVERE]     at net.minecraft.server.World.k(World.java:377)
    2011-04-28 19:30:54 [SEVERE]     at net.minecraft.server.World.applyPhysics(World.java:362)
    2011-04-28 19:30:54 [SEVERE]     at net.minecraft.server.World.update(World.java:334)
    2011-04-28 19:30:54 [SEVERE]     at net.minecraft.server.World.setTypeId(World.java:306)
    2011-04-28 19:30:54 [SEVERE]     at net.minecraft.server.WorldGenLiquids.a(SourceFile:34)
    2011-04-28 19:30:54 [SEVERE]     at net.minecraft.server.ChunkProviderGenerate.getChunkAt(SourceFile:589)
    2011-04-28 19:30:54 [SEVERE]     at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:173)
    2011-04-28 19:30:54 [SEVERE]     at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:103)
    2011-04-28 19:30:54 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:194)
    2011-04-28 19:30:54 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    2011-04-28 19:30:54 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
    2011-04-28 19:30:54 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-04-28 19:30:54 [SEVERE] Unexpected exception
    java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOf(Arrays.java:2786)
        at sun.misc.Resource.getBytes(Resource.java:101)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:257)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        at org.bukkit.craftbukkit.CraftChunk.getBlock(CraftChunk.java:65)
        at org.bukkit.craftbukkit.CraftWorld.getBlockAt(CraftWorld.java:60)
        at net.minecraft.server.World.k(World.java:377)
        at net.minecraft.server.World.applyPhysics(World.java:362)
        at net.minecraft.server.World.update(World.java:334)
        at net.minecraft.server.World.setTypeId(World.java:306)
        at net.minecraft.server.WorldGenLiquids.a(SourceFile:34)
        at net.minecraft.server.ChunkProviderGenerate.getChunkAt(SourceFile:589)
        at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:173)
        at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:103)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:194)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-04-28 19:30:58 [INFO] Stopping server
    2011-04-28 19:30:58 [SEVERE] null
    java.io.IOException: Interrupted system call
        at java.io.FileInputStream.read(Native Method)
        at jline.Terminal.readCharacter(Terminal.java:99)
        at jline.UnixTerminal.readVirtualKey(UnixTerminal.java:128)
        at jline.ConsoleReader.readVirtualKey(ConsoleReader.java:1453)
        at jline.ConsoleReader.readBinding(ConsoleReader.java:654)
        at jline.ConsoleReader.readLine(ConsoleReader.java:494)
        at net.minecraft.server.ThreadCommandReader.run(ThreadCommandReader.java:28)
    2011-04-28 19:35:36 [INFO] Starting minecraft server version Beta 1.5_02
    2011-04-28 19:35:36 [WARNING] **** NOT ENOUGH RAM!
    2011-04-28 19:35:36 [WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
    2011-04-28 19:35:36 [INFO] Loading properties
    2011-04-28 19:35:36 [INFO] Starting Minecraft server on *:25565
    2011-04-28 19:35:36 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-700-gf3ae4c3-b733jnks (MC: 1.5_02)
    2011-04-28 19:35:36 [INFO] Preparing level "world"
    2011-04-28 19:35:36 [INFO] Preparing start region
    2011-04-28 19:35:37 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-04-28 19:35:37 [SEVERE]     at java.util.Arrays.copyOf(Arrays.java:2786)
    2011-04-28 19:35:37 [SEVERE]     at sun.misc.Resource.getBytes(Resource.java:101)
    2011-04-28 19:35:37 [SEVERE]     at java.net.URLClassLoader.defineClass(URLClassLoader.java:257)
    2011-04-28 19:35:37 [SEVERE]     at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    2011-04-28 19:35:37 [SEVERE]     at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    2011-04-28 19:35:37 [SEVERE]     at java.security.AccessController.doPrivileged(Native Method)
    2011-04-28 19:35:37 [SEVERE]     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    2011-04-28 19:35:37 [SEVERE]     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    2011-04-28 19:35:37 [SEVERE]     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    2011-04-28 19:35:37 [SEVERE]     at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    2011-04-28 19:35:37 [SEVERE]     at org.bukkit.craftbukkit.CraftChunk.getBlock(CraftChunk.java:65)
    2011-04-28 19:35:37 [SEVERE]     at org.bukkit.craftbukkit.CraftWorld.getBlockAt(CraftWorld.java:60)
    2011-04-28 19:35:37 [SEVERE]     at net.minecraft.server.World.k(World.java:377)
    2011-04-28 19:35:37 [SEVERE]     at net.minecraft.server.World.applyPhysics(World.java:362)
    2011-04-28 19:35:37 [SEVERE]     at net.minecraft.server.World.update(World.java:334)
    2011-04-28 19:35:37 [SEVERE]     at net.minecraft.server.World.setTypeId(World.java:306)
    2011-04-28 19:35:37 [SEVERE]     at net.minecraft.server.WorldGenLiquids.a(SourceFile:34)
    2011-04-28 19:35:37 [SEVERE]     at net.minecraft.server.ChunkProviderGenerate.getChunkAt(SourceFile:589)
    2011-04-28 19:35:37 [SEVERE]     at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:173)
    2011-04-28 19:35:37 [SEVERE]     at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:103)
    2011-04-28 19:35:37 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:194)
    2011-04-28 19:35:37 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    2011-04-28 19:35:37 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
    2011-04-28 19:35:37 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-04-28 19:35:37 [SEVERE] Unexpected exception
    java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOf(Arrays.java:2786)
        at sun.misc.Resource.getBytes(Resource.java:101)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:257)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        at org.bukkit.craftbukkit.CraftChunk.getBlock(CraftChunk.java:65)
        at org.bukkit.craftbukkit.CraftWorld.getBlockAt(CraftWorld.java:60)
        at net.minecraft.server.World.k(World.java:377)
        at net.minecraft.server.World.applyPhysics(World.java:362)
        at net.minecraft.server.World.update(World.java:334)
        at net.minecraft.server.World.setTypeId(World.java:306)
        at net.minecraft.server.WorldGenLiquids.a(SourceFile:34)
        at net.minecraft.server.ChunkProviderGenerate.getChunkAt(SourceFile:589)
        at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:173)
        at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:103)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:194)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-04-28 19:35:43 [SEVERE] null
    java.io.IOException: Interrupted system call
        at java.io.FileInputStream.read(Native Method)
        at jline.Terminal.readCharacter(Terminal.java:99)
        at jline.UnixTerminal.readVirtualKey(UnixTerminal.java:128)
        at jline.ConsoleReader.readVirtualKey(ConsoleReader.java:1453)
        at jline.ConsoleReader.readBinding(ConsoleReader.java:654)
        at jline.ConsoleReader.readLine(ConsoleReader.java:494)
        at net.minecraft.server.ThreadCommandReader.run(ThreadCommandReader.java:28)
    2011-04-28 19:36:01 [INFO] Starting minecraft server version Beta 1.5_02
    2011-04-28 19:36:01 [WARNING] **** NOT ENOUGH RAM!
    2011-04-28 19:36:01 [WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
    2011-04-28 19:36:01 [INFO] Loading properties
    2011-04-28 19:36:01 [INFO] Starting Minecraft server on *:25565
    2011-04-28 19:36:01 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-700-gf3ae4c3-b733jnks (MC: 1.5_02)
    2011-04-28 19:36:01 [INFO] Preparing level "world"
    2011-04-28 19:36:01 [INFO] Preparing start region
    2011-04-28 19:36:02 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-04-28 19:36:02 [SEVERE]     at java.util.HashMap.resize(HashMap.java:462)
    2011-04-28 19:36:02 [SEVERE]     at java.util.HashMap.addEntry(HashMap.java:755)
    2011-04-28 19:36:02 [SEVERE]     at java.util.HashMap.put(HashMap.java:385)
    2011-04-28 19:36:02 [SEVERE]     at java.util.HashSet.add(HashSet.java:200)
    2011-04-28 19:36:03 [SEVERE]     at net.minecraft.server.World.c(World.java:915)
    2011-04-28 19:36:03 [SEVERE]     at net.minecraft.server.BlockSand.e(SourceFile:17)
    2011-04-28 19:36:03 [SEVERE]     at net.minecraft.server.Chunk.a(Chunk.java:307)
    2011-04-28 19:36:03 [SEVERE]     at net.minecraft.server.World.setRawTypeId(World.java:246)
    2011-04-28 19:36:03 [SEVERE]     at net.minecraft.server.WorldGenMinable.a(SourceFile:57)
    2011-04-28 19:36:03 [SEVERE]     at net.minecraft.server.ChunkProviderGenerate.getChunkAt(SourceFile:463)
    2011-04-28 19:36:03 [SEVERE]     at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:173)
    2011-04-28 19:36:03 [SEVERE]     at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:103)
    2011-04-28 19:36:04 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:194)
    2011-04-28 19:36:46 [INFO] Starting minecraft server version Beta 1.5_02
    2011-04-28 19:36:46 [WARNING] **** NOT ENOUGH RAM!
    2011-04-28 19:36:46 [WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
    2011-04-28 19:36:46 [INFO] Loading properties
    2011-04-28 19:36:46 [INFO] Starting Minecraft server on *:25565
    2011-04-28 19:36:46 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-700-gf3ae4c3-b733jnks (MC: 1.5_02)
    2011-04-28 19:36:46 [INFO] Preparing level "world"
    2011-04-28 19:36:46 [INFO] Preparing start region
    2011-04-28 19:36:48 [INFO] Stopping server
    2011-04-28 19:36:48 [SEVERE] java.lang.OutOfMemoryError: Java heap space
     
    command:
    Code:
    cd ~/Desktop/Bukkit\ Server
    java -Xincgc -Xmx3072 -jar Craftbukkit.jar
    
    removed all plugins
     
  11. you have to add a M to the 3072~
     
  12. Offline

    pwalsh

    *Groans* thanks guys. I am an idiot.

    Very much appreciated :)
     
  13. ;)
     
  14. Offline

    mughi

    nice catch..
    actually, guess credit goes to @Jeyge , since he actually found it
     
  15. very true. good job fine sir!
     
Thread Status:
Not open for further replies.

Share This Page