More Info: How to Fix java.lang.OutOfMemoryError in Minecraft
Need Help? Click here for more information on How to Fix java.lang.OutOfMemoryError in Minecraft.
Need Help? Click here for more information on How to Fix java.lang.OutOfMemoryError in Minecraft.
Hey, So I made a server for me and my friends to play on. We downloaded an adventure map to play but every time we try to play it crashes. I have the crash report
---- Minecraft Crash Report -------- Minecraft Crash Report ----// On the bright side, I bought you a teddy bear!
Time: 9/14/17 8:04 PMDescription: Ticking entity
java.lang.OutOfMemoryError: Java heap space at jq.a(SourceFile:83) at js.<init>(SourceFile:32) at qw.s_(SourceFile:221) at aqu.a(SourceFile:1406) at qt.a(SourceFile:601) at aqu.g(SourceFile:1384) at aqu.i(SourceFile:1277) at qt.i(SourceFile:479) at net.minecraft.server.MinecraftServer.z(SourceFile:607) at po.z(SourceFile:305) at net.minecraft.server.MinecraftServer.y(SourceFile:531) at net.minecraft.server.MinecraftServer.run(SourceFile:447) at java.lang.Thread.run(Unknown Source)
A detailed walkthrough of the error, its code path and all known details is as follows:---------------------------------------------------------------------------------------
-- Head --Stacktrace: at jq.a(SourceFile:83) at js.<init>(SourceFile:32) at qw.s_(SourceFile:221) at aqu.a(SourceFile:1406) at qt.a(SourceFile:601) at aqu.g(SourceFile:1384)
-- Entity being ticked --Details: Entity Type: null (qw) Entity ID: 122 Entity Name: YoungGenji_ Entity's Exact location: -155.50, 230.00, 47.50 Entity's Block location: -156.00,230.00,47.00 - World: (-156,230,47), Chunk: (at 4,14,15 in -10,2; contains blocks -160,0,32 to -145,255,47), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511) Entity's Momentum: 0.00, -0.08, 0.00 Entity's Rider: ~~ERROR~~ NullPointerException: null Entity's Vehicle: ~~ERROR~~ NullPointerException: nullStacktrace: at aqu.i(SourceFile:1277) at qt.i(SourceFile:479)
-- Affected level --Details: Level name: world All players: 2 total; [qw['LolGenji'/119, l='world', x=-30.27, y=236.00, z=-70.88], qw['YoungGenji_'/122, l='world', x=-155.50, y=230.00, z=47.50]] Chunk stats: ServerChunkCache: 847 Drop: 0 Level seed: -4066758306333662857 Level generator: ID 01 - flat, ver 0. Features enabled: true Level generator options: 2;7,230x1,5x3,2;3; Level spawn location: 0.00,4.00,0.00 - World: (0,4,0), Chunk: (at 0,0,0 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 53390362 game time, 26602 day time Level dimension: 0 Level storage version: 0x04ABD - Anvil Level weather: Rain time: 1 (now: false), thunder time: 1 (now: false) Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: falseStacktrace: at net.minecraft.server.MinecraftServer.z(SourceFile:607) at po.z(SourceFile:305) at net.minecraft.server.MinecraftServer.y(SourceFile:531) at net.minecraft.server.MinecraftServer.run(SourceFile:447) at java.lang.Thread.run(Unknown Source)
-- System Details --Details: Minecraft Version: 1.8 Operating System: Windows Vista (x86) version 6.0 Java Version: 1.8.0_144, Oracle Corporation Java VM Version: Java HotSpot(TM) Client VM (mixed mode, sharing), Oracle Corporation Memory: 1276032 bytes (1 MB) / 259522560 bytes (247 MB) up to 259522560 bytes (247 MB) JVM Flags: 0 total; IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 Profiler Position: N/A (disabled) Player Count: 2 / 20; [qw['LolGenji'/119, l='world', x=-30.27, y=236.00, z=-70.88], qw['YoungGenji_'/122, l='world', x=-155.50, y=230.00, z=47.50]] Is Modded: Unknown (can't tell) Type: Dedicated Server (map_server.txt)
Quit a long crash report. Not sure if all of that is necessary so I just put all of it in. Thanks
Also I should mention it always happened like 10 seconds after I tried to step on a pressure plate
please use a pasting service for crash reports, configs and logs etc it makes it soooooo much easier to read them but you have an entity at these co ords that needs to be removed -155.50, 230.00, 47.50.
Also, your server arguments are missing "JVM Flags: 0"
Im kind of a nub when it comes to this technical stuff, how do I give it ram?
So how do I fix the server arguments part?
edit your startup script to include the args that match your server and server same as you do in your minecraft client
Don't make your min ram the same as your max it will cause issues with your garbage collection