I updated Java today and ever since I did, my game keeps crashing, freezing, and very laggy. (I've allocated mc more RAM weeks ago) It freezes more frequently in servers than in Singleplayer. I do have the most recent crash log right here. If I'm missing anything just tell me, or maybe it's just my computer? Either way, just tell me what's wrong! xD Thanks in advance!!
---- Minecraft Crash Report ----
// You should try our sister game, Minceraft!
java.lang.OutOfMemoryError: Updating screen events
at sun.misc.Unsafe.allocateMemory(Native Method)
at java.nio.DirectByteBuffer.<init>(Unknown Source)
at java.nio.ByteBuffer.allocateDirect(Unknown Source)
at org.lwjgl.BufferUtils.createByteBuffer(BufferUtils.java:60)
at org.lwjgl.BufferUtils.createIntBuffer(BufferUtils.java:90)
at btr.a(SourceFile:51)
at btr.a(SourceFile:37)
at bss.Y(SourceFile:2624)
at bxe.l(SourceFile:423)
at bxe.p(SourceFile:388)
at bss.r(SourceFile:1480)
at bss.at(SourceFile:880)
at bss.a(SourceFile:317)
at net.minecraft.client.main.Main.main(SourceFile:124)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at sun.misc.Unsafe.allocateMemory(Native Method)
at java.nio.DirectByteBuffer.<init>(Unknown Source)
at java.nio.ByteBuffer.allocateDirect(Unknown Source)
at org.lwjgl.BufferUtils.createByteBuffer(BufferUtils.java:60)
at org.lwjgl.BufferUtils.createIntBuffer(BufferUtils.java:90)
at btr.a(SourceFile:51)
at btr.a(SourceFile:37)
at bss.Y(SourceFile:2624)
at bxe.l(SourceFile:423)
at bxe.p(SourceFile:388)
-- System Details --
Details:
Minecraft Version: 1.8.1
Operating System: Windows 7 (x86) version 6.1
Java Version: 1.7.0_71, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 956207600 bytes (911 MB) / 1105088512 bytes (1053 MB) up to 1310720000 bytes (1250 MB)
JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1350M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn1000M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
Launched Version: 1.8.1
LWJGL: 2.9.1
OpenGL: Intel(R) HD Graphics GL version 3.1.0 - Build 8.15.10.2653, Intel
GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.
Using VBOs: No
Is Modded: Probably not. Jar signature remains and client brand is untouched.
Type: Client (map_client.txt)
Resource Packs: []
Current Language: English (US)
Profiler Position: N/A (disabled)
A) This Xmx parameter is close to the limit for a 32bit OS. If a Java update results in a piggier Java footprint then you could be over the limit.
This Xmn parameter is way way too big and will result in poor performance.
C) By overallocating your heap you limit how much memory is available for other purposes, e.g. your video drivers, which is what I think you are running into. LWJGL is trying to allocate a byte buffer from native memory. This does not come from heap, and because your heap is so large and you have a 32bit process there isn't enough remaining non-heap space to do it.
Ok well, thank you, I had never had this problem before and honestly I don't know why I had just gotten it.. And I (think) I actually have 64 bit... and I'll try what you said!
// You should try our sister game, Minceraft!
Time: 1/6/15 12:26 PM
Description: Updating screen events
java.lang.OutOfMemoryError: Updating screen events
at sun.misc.Unsafe.allocateMemory(Native Method)
at java.nio.DirectByteBuffer.<init>(Unknown Source)
at java.nio.ByteBuffer.allocateDirect(Unknown Source)
at org.lwjgl.BufferUtils.createByteBuffer(BufferUtils.java:60)
at org.lwjgl.BufferUtils.createIntBuffer(BufferUtils.java:90)
at btr.a(SourceFile:51)
at btr.a(SourceFile:37)
at bss.Y(SourceFile:2624)
at bxe.l(SourceFile:423)
at bxe.p(SourceFile:388)
at bss.r(SourceFile:1480)
at bss.at(SourceFile:880)
at bss.a(SourceFile:317)
at net.minecraft.client.main.Main.main(SourceFile:124)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at sun.misc.Unsafe.allocateMemory(Native Method)
at java.nio.DirectByteBuffer.<init>(Unknown Source)
at java.nio.ByteBuffer.allocateDirect(Unknown Source)
at org.lwjgl.BufferUtils.createByteBuffer(BufferUtils.java:60)
at org.lwjgl.BufferUtils.createIntBuffer(BufferUtils.java:90)
at btr.a(SourceFile:51)
at btr.a(SourceFile:37)
at bss.Y(SourceFile:2624)
at bxe.l(SourceFile:423)
at bxe.p(SourceFile:388)
-- Affected screen --
Details:
Screen name: byy
-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [cin['SmokyCat05'/198, l='MpServer', x=1183.24, y=7.00, z=885.43]]
Chunk stats: MultiplayerChunkCache: 441, 441
Level seed: 0
Level generator: ID 01 - flat, ver 0. Features enabled: false
Level generator options:
Level spawn location: 1075.00,7.00,829.00 - World: (1075,7,829), Chunk: (at 3,0,13 in 67,51; contains blocks 1072,0,816 to 1087,255,831), Region: (2,1; contains chunks 64,32 to 95,63, blocks 1024,0,512 to 1535,255,1023)
Level time: 31104 game time, 31104 day time
Level dimension: 0
Level storage version: 0x00000 - Unknown?
Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
Forced entities: 66 total; [abw['Horse'/141, l='MpServer', x=1167.97, y=7.00, z=845.63], acc['Pig'/140, l='MpServer', x=1177.88, y=7.00, z=838.03], abw['Horse'/143, l='MpServer', x=1178.81, y=7.00, z=848.56], abw['Horse'/142, l='MpServer', x=1181.66, y=7.00, z=846.28], afw['Slime'/129, l='MpServer', x=1162.19, y=7.00, z=893.38], afw['Slime'/103310, l='MpServer', x=1136.88, y=7.00, z=918.38], afw['Slime'/131, l='MpServer', x=1175.88, y=7.52, z=878.83], afw['Slime'/130, l='MpServer', x=1155.00, y=7.93, z=909.56], afw['Slime'/133, l='MpServer', x=1175.75, y=8.07, z=893.29], afw['Slime'/132, l='MpServer', x=1184.14, y=8.07, z=886.65], afw['Slime'/135, l='MpServer', x=1176.59, y=7.00, z=937.09], afw['Slime'/134, l='MpServer', x=1162.91, y=7.00, z=889.19], afw['Slime'/275337, l='MpServer', x=1232.81, y=7.47, z=810.34], afw['Slime'/235786, l='MpServer', x=1138.78, y=7.00, z=911.66], abw['Horse'/159, l='MpServer', x=1184.96, y=7.00, z=912.56], afw['Slime'/144, l='MpServer', x=1162.97, y=7.00, z=866.84], afw['Slime'/160742, l='MpServer', x=1129.61, y=7.00, z=831.13], afw['Slime'/146, l='MpServer', x=1187.44, y=7.00, z=890.34], afw['Slime'/147, l='MpServer', x=1196.41, y=7.00, z=901.50], abw['Horse'/148, l='MpServer', x=1180.41, y=7.00, z=905.97], abw['Horse'/149, l='MpServer', x=1181.81, y=7.00, z=918.31], afw['Slime'/227961, l='MpServer', x=1139.88, y=7.00, z=909.44], afw['Slime'/171631, l='MpServer', x=1139.94, y=7.00, z=886.75], afw['Slime'/150, l='MpServer', x=1192.41, y=7.00, z=898.19], abv['Cow'/151, l='MpServer', x=1164.38, y=7.00, z=912.00], acd['Rabbit'/175, l='MpServer', x=1208.31, y=7.00, z=916.94], afw['Slime'/149659, l='MpServer', x=1154.06, y=7.00, z=959.28], acd['Rabbit'/173, l='MpServer', x=1198.25, y=7.00, z=918.47], acd['Rabbit'/161, l='MpServer', x=1199.59, y=7.00, z=924.41], abw['Horse'/160, l='MpServer', x=1185.84, y=7.00, z=909.31], afw['Slime'/114608, l='MpServer', x=1136.64, y=7.87, z=885.11], afw['Slime'/184, l='MpServer', x=1237.28, y=7.00, z=949.34], afw['Slime'/148021, l='MpServer', x=1123.09, y=7.51, z=872.49], afw['Slime'/155209, l='MpServer', x=1228.53, y=7.00, z=958.78], afw['Slime'/176, l='MpServer', x=1212.22, y=7.00, z=925.81], afw['Slime'/194793, l='MpServer', x=1146.28, y=7.93, z=882.14], acd['Rabbit'/177, l='MpServer', x=1210.63, y=7.00, z=915.00], afw['Slime'/118921, l='MpServer', x=1215.50, y=7.00, z=811.28], afw['Slime'/182, l='MpServer', x=1226.41, y=7.00, z=839.16], afw['Slime'/183, l='MpServer', x=1179.19, y=8.15, z=865.74], afw['Slime'/181, l='MpServer', x=1225.38, y=7.00, z=854.59], cin['SmokyCat05'/198, l='MpServer', x=1183.24, y=7.00, z=885.43], afw['Slime'/176065, l='MpServer', x=1120.91, y=7.00, z=870.94], afw['Slime'/268349, l='MpServer', x=1155.72, y=8.16, z=905.48], afw['Slime'/229098, l='MpServer', x=1131.94, y=7.00, z=875.00], afw['Slime'/192, l='MpServer', x=1261.80, y=7.34, z=854.24], afw['Slime'/194, l='MpServer', x=1219.15, y=7.00, z=913.48], acm['Sheep'/87, l='MpServer', x=1116.63, y=7.00, z=808.34], afw['Slime'/194528, l='MpServer', x=1239.50, y=7.00, z=950.19], afw['Slime'/186276, l='MpServer', x=1127.91, y=7.00, z=866.91], afw['Slime'/200344, l='MpServer', x=1145.82, y=7.27, z=806.79], abv['Cow'/102, l='MpServer', x=1125.66, y=7.00, z=833.66], abv['Cow'/103, l='MpServer', x=1135.66, y=7.00, z=823.00], afw['Slime'/134413, l='MpServer', x=1150.60, y=7.40, z=902.15], afw['Slime'/193158, l='MpServer', x=1223.00, y=7.00, z=840.50], afw['Slime'/110, l='MpServer', x=1154.00, y=7.93, z=836.06], abv['Cow'/109, l='MpServer', x=1142.53, y=7.00, z=821.97], afw['Slime'/3365, l='MpServer', x=1133.03, y=7.00, z=820.72], afw['Slime'/3367, l='MpServer', x=1152.75, y=8.22, z=805.56], afw['Slime'/119, l='MpServer', x=1178.44, y=7.00, z=929.75], afw['Slime'/117, l='MpServer', x=1134.19, y=7.00, z=885.31], afw['Slime'/116, l='MpServer', x=1129.82, y=7.31, z=891.91], afw['Slime'/115, l='MpServer', x=1165.91, y=7.00, z=892.16], afw['Slime'/207004, l='MpServer', x=1240.22, y=7.00, z=930.09], afw['Slime'/114, l='MpServer', x=1131.09, y=7.00, z=865.34], abv['Cow'/112, l='MpServer', x=1141.91, y=7.00, z=820.75]]
Retry entities: 0 total; []
Server brand: vanilla
Server type: Integrated singleplayer server
Stacktrace:
at cem.a(SourceFile:308)
at bss.b(SourceFile:2278)
at bss.a(SourceFile:326)
at net.minecraft.client.main.Main.main(SourceFile:124)
-- System Details --
Details:
Minecraft Version: 1.8.1
Operating System: Windows 7 (x86) version 6.1
Java Version: 1.7.0_71, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 956207600 bytes (911 MB) / 1105088512 bytes (1053 MB) up to 1310720000 bytes (1250 MB)
JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1350M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn1000M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
Launched Version: 1.8.1
LWJGL: 2.9.1
OpenGL: Intel(R) HD Graphics GL version 3.1.0 - Build 8.15.10.2653, Intel
GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.
Using VBOs: No
Is Modded: Probably not. Jar signature remains and client brand is untouched.
Type: Client (map_client.txt)
Resource Packs: []
Current Language: English (US)
Profiler Position: N/A (disabled)
A) This Xmx parameter is close to the limit for a 32bit OS. If a Java update results in a piggier Java footprint then you could be over the limit.
C) By overallocating your heap you limit how much memory is available for other purposes, e.g. your video drivers, which is what I think you are running into. LWJGL is trying to allocate a byte buffer from native memory. This does not come from heap, and because your heap is so large and you have a 32bit process there isn't enough remaining non-heap space to do it.
Go back to the default memory allocation.
It may just be that you are missing 64bit Java. But the crash dump shows that it happened in a 32bit process.