Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-96691

LWJGL crashes with too much memory.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 16w05b
    • None
    • Windows Vista Java 1.8.0
    • Unconfirmed

      Setting allocated memory to 1024 MB or more causes a crash.

      Crash Report:
      ---- Minecraft Crash Report ----
      // I blame Dinnerbone.
      Time: 7/02/16 8:32 AM
      Description: Initializing game
      org.lwjgl.LWJGLException: java.lang.overflowException
      at org.lwjgl.opengl.WindowsPeerInfo.nChooseOverflow(Native Method)
      at org.lwjgl.opengl.WindowsPeerInfo.chooseOverflow(WindowsPeerInfo.java:52)
      at org.lwjgl.opengl.WindowsMemory.createWindow(WindowsMemory.java:247)
      at org.lwjgl.opengl.Memory.createWindow(Memory.java:306)
      at org.lwjgl.opengl.Memory.create(Memory.java:848)
      at org.lwjgl.opengl.Memory.create(Memory.java:757)
      at org.lwjgl.opengl.Memory.create(Memory.java:739)
      at ave.ap(SourceFile:534)
      at ave.am(SourceFile:363)
      at ave.a(SourceFile:310)
      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 org.lwjgl.opengl.WindowsPeerInfo.nChooseOverflow(Native Method)
      at org.lwjgl.opengl.WindowsPeerInfo.chooseOverflow(WindowsPeerInfo.java:52)
      at org.lwjgl.opengl.WindowsMemory.createWindow(WindowsMemory.java:247)
      at org.lwjgl.opengl.Memory.createWindow(Memory.java:848)
      at org.lwjgl.opengl.Memory.create(Memory.java:757)
      at org.lwjgl.opengl.Memory.create(Memory.java:739)
      at ave.ap(SourceFile:534)
      at ave.am(SourceFile:363)
      – Initialization –
      Details:
      Stacktrace:
      at ave.a(SourceFile:310)
      at net.minecraft.client.main.Main.main(SourceFile:124)
      – System Details –
      Details:
      Minecraft Version: 16w05b/snapshot
      Operating System: Windows Vista (x86) version 5.1
      Java Version: 1.8.0_25, Oracle Corporation
      Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
      Memory: 97052576 bytes (92 MB) / 157687808 bytes (150 MB) up to 113975652174 bytes (1024 MB)
      JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
      IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
      Launched Version: 16w05b
      LWJGL: 2.9.4
      OpenGL: ~ERROR~ RuntimeException: No OpenGL context found in the current thread.
      GL Caps: 
      Using VBOs: Yes
      Is Modded: Probably not. Jar signature remains and client brand is untouched.
      Type: Client (map_client.txt)
      Resource Packs: 
      Current Language: ~ERROR~ NullPointerException: null
      Profiler Position: N/A (disabled)
      CPU: <unknown>
      

      Set the JVM Args to 500 MB It worked and here is a forced crash:

      Time: 3/10/16 7:07 PM
      Description: Manually triggered debug crash
      
      java.lang.Throwable
      	at bcc.az(SourceFile:1698)
      	at bcc.t(SourceFile:1619)
      	at bcc.av(SourceFile:962)
      	at bcc.a(SourceFile:392)
      	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 bcc.az(SourceFile:1698)
      
      -- Affected level --
      Details:
      	Level name: MpServer
      	All players: 1 total; [bmq['Foltrox'/0, l='MpServer', x=-230.13, y=5.00, z=2148.74]]
      	Chunk stats: MultiplayerChunkCache: 81, 81
      	Level seed: 0
      	Level generator: ID 01 - flat, ver 0. Features enabled: false
      	Level generator options: 
      	Level spawn location: World: (-550,4,2089), Chunk: (at 10,0,9 in -35,130; contains blocks -560,0,2080 to -545,255,2095), Region: (-2,4; contains chunks -64,128 to -33,159, blocks -1024,0,2048 to -513,255,2559)
      	Level time: 63311 game time, 63311 day time
      	Level dimension: 0
      	Level storage version: 0x00000 - Unknown?
      	Level weather: Rain time: 0 (now: true), thunder time: 0 (now: false)
      	Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
      	Forced entities: 16 total; [aan['entity.MinecartRideable.name'/4, l='MpServer', x=-263.50, y=1.06, z=2147.51], za['Zombie'/6, l='MpServer', x=-225.71, y=5.00, z=2137.30], za['Zombie'/97, l='MpServer', x=-230.50, y=5.00, z=2149.70], za['Zombie'/7, l='MpServer', x=-230.30, y=5.00, z=2150.49], za['Zombie'/8, l='MpServer', x=-224.54, y=5.00, z=2153.25], za['Zombie'/9, l='MpServer', x=-230.26, y=5.00, z=2143.26], za['Zombie'/79, l='MpServer', x=-227.23, y=5.00, z=2150.96], za['Zombie'/75, l='MpServer', x=-223.80, y=6.00, z=2151.50], za['Zombie'/119, l='MpServer', x=-225.53, y=5.00, z=2138.05], yd['item.item.rottenFlesh'/17, l='MpServer', x=-214.47, y=1.00, z=2192.19], yd['item.item.rottenFlesh'/20, l='MpServer', x=-222.90, y=1.00, z=2194.35], za['Zombie'/92, l='MpServer', x=-230.70, y=5.00, z=2150.49], yd['item.item.rottenFlesh'/58, l='MpServer', x=-190.58, y=9.00, z=2182.50], yd['item.item.rottenFlesh'/57, l='MpServer', x=-185.88, y=10.00, z=2178.11], yd['item.item.rottenFlesh'/56, l='MpServer', x=-191.86, y=10.50, z=2175.38], bmq['Foltrox'/0, l='MpServer', x=-230.13, y=5.00, z=2148.74]]
      	Retry entities: 0 total; []
      	Server brand: vanilla
      	Server type: Integrated singleplayer server
      Stacktrace:
      	at bkr.a(SourceFile:365)
      	at bcc.b(SourceFile:2519)
      	at bcc.a(SourceFile:401)
      	at net.minecraft.client.main.Main.main(SourceFile:124)
      
      -- System Details --
      Details:
      	Minecraft Version: 1.9.1-pre2
      	Operating System: Windows 8 (x86) version 6.2
      	Java Version: 1.7.0_71, Oracle Corporation
      	Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
      	Memory: 141178456 bytes (134 MB) / 243879936 bytes (232 MB) up to 510918656 bytes (487 MB)
      	JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx500M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
      	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
      	Launched Version: 1.9.1-pre2
      	LWJGL: 2.9.4
      	OpenGL: AMD Radeon HD 7520G GL version 4.2.11774 Compatibility Profile Context, ATI Technologies Inc.
      	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: Yes
      	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: root.tick.keyboard
      	CPU: 2x AMD A6-4400M APU with Radeon(tm) HD Graphics 
      

            Unassigned Unassigned
            The Papa The Papa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: