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

Game runs out of memory while building datafixers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 19w09a
    • Minecraft 1.13.2-pre2, Minecraft 1.13.2, Minecraft 18w43a, Minecraft 18w43b, Minecraft 18w43c, Minecraft 18w44a, Minecraft 18w45a, Minecraft 18w46a, Minecraft 18w47a, Minecraft 18w47b, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w02a, Minecraft 19w03a, Minecraft 19w03b, Minecraft 19w03c, Minecraft 19w04b, Minecraft 19w05a, Minecraft 19w06a, Minecraft 19w07a, Minecraft 19w08a
    • Windows 7 32 bytes 1.30Ghz dual core 4gb Ram
    • Confirmed

      Workaround

      Add -Xss320k or -Xmx2G to your JVM arguments.

      Usually happens in 32 bit systems only

      16:39:27	launcher	Preparing to launch minecraft client for 1.13.2-pre2
      16:39:29	launcher	Checking installations.
      16:39:29	launcher	Minecraft client 1.13.2-pre2 is ready to start.
      16:39:29	launcher	Starting!
      16:39:29	launcher	Using default game log configuration client-1.12.xml (outputs XML)
      16:39:34	cft	Setting user: KairoMartins18
      13:39:47	game	Exception in thread "Client thread" java.lang.OutOfMemoryError: unable to create new native thread
      	at java.lang.Thread.start0(Native Method)
      	at java.lang.Thread.start(Thread.java:714)
      	at java.util.concurrent.CompletableFuture$ThreadPerTaskExecutor.execute(CompletableFuture.java:405)
      	at java.util.concurrent.CompletableFuture.asyncRunStage(CompletableFuture.java:1632)
      	at java.util.concurrent.CompletableFuture.runAsync(CompletableFuture.java:1850)
      	at com.mojang.datafixers.DataFixerBuilder.build(DataFixerBuilder.java:70)
      	at xz.b(SourceFile:140)
      	at xz.<clinit>(SourceFile:135)
      	at aev$a.a(SourceFile:445)
      	at aev.a(SourceFile:131)
      	at aev.<clinit>(SourceFile:137)
      	at pf.c(SourceFile:470)
      	at cft.<init>(SourceFile:370)
      	at net.minecraft.client.main.Main.main(SourceFile:144)
        <log4j:Event logger="com.mojang.datafixers.DataFixerBuilder" timestamp="1539977987406" level="ERROR" thread="Thread-571">
          <log4j:Message><![CDATA[Unable to build datafixers]]></log4j:Message>
          <log4j:Throwable><![CDATA[java.util.concurrent.CompletionException: java.lang.BootstrapMethodError: call site initialization exception
      	at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
      	at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
      	at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1621)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.BootstrapMethodError: call site initialization exception
      	at java.lang.invoke.CallSite.makeSite(CallSite.java:341)
      	at java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:307)
      	at java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:297)
      	at aap.makeRule(SourceFile:31)
      	at com.mojang.datafixers.DataFix.getRule(DataFix.java:97)
      	at com.mojang.datafixers.DataFixerUpper.lambda$getRule$6(DataFixerUpper.java:136)
      	at com.mojang.datafixers.DataFixerUpper$$Lambda$394/5578326.apply(Unknown Source)
      	at java.util.Map.computeIfAbsent(Map.java:957)
      	at it.unimi.dsi.fastutil.longs.Long2ObjectMap.computeIfAbsent(Long2ObjectMap.java:606)
      	at it.unimi.dsi.fastutil.longs.Long2ObjectMaps$SynchronizedMap.computeIfAbsent(Long2ObjectMaps.java:530)
      	at it.unimi.dsi.fastutil.longs.Long2ObjectMaps$SynchronizedMap.computeIfAbsent(Long2ObjectMaps.java:295)
      	at com.mojang.datafixers.DataFixerUpper.getRule(DataFixerUpper.java:131)
      	at com.mojang.datafixers.DataFixerBuilder.lambda$build$1(DataFixerBuilder.java:72)
      	at com.mojang.datafixers.DataFixerBuilder$$Lambda$382/2455707.run(Unknown Source)
      	at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1618)
      	... 1 more
      Caused by: java.lang.OutOfMemoryError: Metaspace
      ]]></log4j:Throwable>
        </log4j:Event>
      13:39:47	monitor	expected <
      16:39:43	com.mojang.datafixers.DataFixerBuilder	Unable to build datafixers
      java.util.concurrent.CompletionException: java.lang.BootstrapMethodError: call site initialization exception
      	at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
      	at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
      	at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1621)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.BootstrapMethodError: call site initialization exception
      	at java.lang.invoke.CallSite.makeSite(CallSite.java:341)
      	at java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:307)
      	at java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:297)
      	at aap.makeRule(SourceFile:31)
      	at com.mojang.datafixers.DataFix.getRule(DataFix.java:97)
      	at com.mojang.datafixers.DataFixerUpper.lambda$getRule$6(DataFixerUpper.java:136)
      	at com.mojang.datafixers.DataFixerUpper$$Lambda$394/5578326.apply(Unknown Source)
      	at java.util.Map.computeIfAbsent(Map.java:957)
      	at it.unimi.dsi.fastutil.longs.Long2ObjectMap.computeIfAbsent(Long2ObjectMap.java:606)
      	at it.unimi.dsi.fastutil.longs.Long2ObjectMaps$SynchronizedMap.computeIfAbsent(Long2ObjectMaps.java:530)
      	at it.unimi.dsi.fastutil.longs.Long2ObjectMaps$SynchronizedMap.computeIfAbsent(Long2ObjectMaps.java:295)
      	at com.mojang.datafixers.DataFixerUpper.getRule(DataFixerUpper.java:131)
      	at com.mojang.datafixers.DataFixerBuilder.lambda$build$1(DataFixerBuilder.java:72)
      	at com.mojang.datafixers.DataFixerBuilder$$Lambda$382/2455707.run(Unknown Source)
      	at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1618)
      	... 1 more
      Caused by: java.lang.OutOfMemoryError: Metaspace
      	at sun.misc.Unsafe.defineAnonymousClass(Native Method)
      	at java.lang.invoke.InnerClassLambdaMetafactory.spinInnerClass(InnerClassLambdaMetafactory.java:324)
      	at java.lang.invoke.InnerClassLambdaMetafactory.buildCallSite(InnerClassLambdaMetafactory.java:194)
      	at java.lang.invoke.LambdaMetafactory.metafactory(LambdaMetafactory.java:304)
      	at java.lang.invoke.LambdaForm$DMH/31016500.invokeStatic_L6_L(LambdaForm$DMH)
      	at java.lang.invoke.LambdaForm$BMH/24567020.reinvoke(LambdaForm$BMH)
      	at java.lang.invoke.LambdaForm$MH/11902257.invoke_MT(LambdaForm$MH)
      	at java.lang.invoke.CallSite.makeSite(CallSite.java:302)
      	... 15 more
      16:39:44	com.mojang.datafixers.DataFixerBuilder	Unable to build datafixers
      java.util.concurrent.CompletionException: java.lang.BootstrapMethodError: call site initialization exception
      	at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
      	at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
      	at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1621)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.BootstrapMethodError: call site initialization exception
      	at java.lang.invoke.CallSite.makeSite(CallSite.java:341)
      	at java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:307)
      	at java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:297)
      	at aap.makeRule(SourceFile:31)
      	at com.mojang.datafixers.DataFix.getRule(DataFix.java:97)
      	at com.mojang.datafixers.DataFixerUpper.lambda$getRule$6(DataFixerUpper.java:136)
      	at com.mojang.datafixers.DataFixerUpper$$Lambda$394/5578326.apply(Unknown Source)
      	at java.util.Map.computeIfAbsent(Map.java:957)
      	at it.unimi.dsi.fastutil.longs.Long2ObjectMap.computeIfAbsent(Long2ObjectMap.java:606)
      	at it.unimi.dsi.fastutil.longs.Long2ObjectMaps$SynchronizedMap.computeIfAbsent(Long2ObjectMaps.java:530)
      	at it.unimi.dsi.fastutil.longs.Long2ObjectMaps$SynchronizedMap.computeIfAbsent(Long2ObjectMaps.java:295)
      	at com.mojang.datafixers.DataFixerUpper.getRule(DataFixerUpper.java:131)
      	at com.mojang.datafixers.DataFixerBuilder.lambda$build$1(DataFixerBuilder.java:72)
      	at com.mojang.datafixers.DataFixerBuilder$$Lambda$382/2455707.run(Unknown Source)
      	at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1618)
      	... 1 more
      Caused by: java.lang.OutOfMemoryError: Metaspace
      	at sun.misc.Unsafe.defineAnonymousClass(Native Method)
      	at java.lang.invoke.InnerClassLambdaMetafactory.spinInnerClass(InnerClassLambdaMetafactory.java:324)
      	at java.lang.invoke.InnerClassLambdaMetafactory.buildCallSite(InnerClassLambdaMetafactory.java:194)
      	at java.lang.invoke.LambdaMetafactory.metafactory(LambdaMetafactory.java:304)
      	at java.lang.invoke.LambdaForm$DMH/31016500.invokeStatic_L6_L(LambdaForm$DMH)
      	at java.lang.invoke.LambdaForm$BMH/24567020.reinvoke(LambdaForm$BMH)
      	at java.lang.invoke.LambdaForm$MH/11902257.invoke_MT(LambdaForm$MH)
      	at java.lang.invoke.CallSite.makeSite(CallSite.java:302)
      	... 15 more
      16:39:44	com.mojang.datafixers.DataFixerBuilder	Unable to build datafixers
      java.util.concurrent.CompletionException: java.lang.BootstrapMethodError: call site initialization exception
      	at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
      	at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
      	at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1621)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.BootstrapMethodError: call site initialization exception
      	at java.lang.invoke.CallSite.makeSite(CallSite.java:341)
      	at java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:307)
      	at java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:297)
      	at aap.makeRule(SourceFile:31)
      	at com.mojang.datafixers.DataFix.getRule(DataFix.java:97)
      	at com.mojang.datafixers.DataFixerUpper.lambda$getRule$6(DataFixerUpper.java:136)
      	at com.mojang.datafixers.DataFixerUpper$$Lambda$394/5578326.apply(Unknown Source)
      	at java.util.Map.computeIfAbsent(Map.java:957)
      	at it.unimi.dsi.fastutil.longs.Long2ObjectMap.computeIfAbsent(Long2ObjectMap.java:606)
      	at it.unimi.dsi.fastutil.longs.Long2ObjectMaps$SynchronizedMap.computeIfAbsent(Long2ObjectMaps.java:530)
      	at it.unimi.dsi.fastutil.longs.Long2ObjectMaps$SynchronizedMap.computeIfAbsent(Long2ObjectMaps.java:295)
      	at com.mojang.datafixers.DataFixerUpper.getRule(DataFixerUpper.java:131)
      	at com.mojang.datafixers.DataFixerBuilder.lambda$build$1(DataFixerBuilder.java:72)
      	at com.mojang.datafixers.DataFixerBuilder$$Lambda$382/2455707.run(Unknown Source)
      	at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1618)
      	... 1 more
      Caused by: java.lang.OutOfMemoryError: Metaspace
      	at sun.misc.Unsafe.defineAnonymousClass(Native Method)
      	at java.lang.invoke.InnerClassLambdaMetafactory.spinInnerClass(InnerClassLambdaMetafactory.java:324)
      	at java.lang.invoke.InnerClassLambdaMetafactory.buildCallSite(InnerClassLambdaMetafactory.java:194)
      	at java.lang.invoke.LambdaMetafactory.metafactory(LambdaMetafactory.java:304)
      	at java.lang.invoke.LambdaForm$DMH/31016500.invokeStatic_L6_L(LambdaForm$DMH)
      	at java.lang.invoke.LambdaForm$BMH/24567020.reinvoke(LambdaForm$BMH)
      	at java.lang.invoke.LambdaForm$MH/11902257.invoke_MT(LambdaForm$MH)
      	at java.lang.invoke.CallSite.makeSite(CallSite.java:302)
      	... 15 more
      16:39:43	com.mojang.datafixers.DataFixerBuilder	Unable to build datafixers
      java.util.concurrent.CompletionException: java.lang.BootstrapMethodError: call site initialization exception
      	at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
      	at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
      	at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1621)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.BootstrapMethodError: call site initialization exception
      	at java.lang.invoke.CallSite.makeSite(CallSite.java:341)
      	at java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:307)
      	at java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:297)
      	at aap.makeRule(SourceFile:31)
      	at com.mojang.datafixers.DataFix.getRule(DataFix.java:97)
      	at com.mojang.datafixers.DataFixerUpper.lambda$getRule$6(DataFixerUpper.java:136)
      	at com.mojang.datafixers.DataFixerUpper$$Lambda$394/5578326.apply(Unknown Source)
      	at java.util.Map.computeIfAbsent(Map.java:957)
      	at it.unimi.dsi.fastutil.longs.Long2ObjectMap.computeIfAbsent(Long2ObjectMap.java:606)
      	at it.unimi.dsi.fastutil.longs.Long2ObjectMaps$SynchronizedMap.computeIfAbsent(Long2ObjectMaps.java:530)
      	at it.unimi.dsi.fastutil.longs.Long2ObjectMaps$SynchronizedMap.computeIfAbsent(Long2ObjectMaps.java:295)
      	at com.mojang.datafixers.DataFixerUpper.getRule(DataFixerUpper.java:131)
      	at com.mojang.datafixers.DataFixerBuilder.lambda$build$1(DataFixerBuilder.java:72)
      	at com.mojang.datafixers.DataFixerBuilder$$Lambda$382/2455707.run(Unknown Source)
      	at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1618)
      	... 1 more
      Caused by: java.lang.OutOfMemoryError: Metaspace
      	at sun.misc.Unsafe.defineAnonymousClass(Native Method)
      	at java.lang.invoke.InnerClassLambdaMetafactory.spinInnerClass(InnerClassLambdaMetafactory.java:324)
      	at java.lang.invoke.InnerClassLambdaMetafactory.buildCallSite(InnerClassLambdaMetafactory.java:194)
      	at java.lang.invoke.LambdaMetafactory.metafactory(LambdaMetafactory.java:304)
      	at java.lang.invoke.LambdaForm$DMH/31016500.invokeStatic_L6_L(LambdaForm$DMH)
      	at java.lang.invoke.LambdaForm$BMH/24567020.reinvoke(LambdaForm$BMH)
      	at java.lang.invoke.LambdaForm$MH/11902257.invoke_MT(LambdaForm$MH)
      	at java.lang.invoke.CallSite.makeSite(CallSite.java:302)
      	... 15 more
      16:39:46	com.mojang.datafixers.DataFixerBuilder	Unable to build datafixers
      java.util.concurrent.CompletionException: java.lang.BootstrapMethodError: call site initialization exception
      	at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
      	at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
      	at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1621)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.BootstrapMethodError: call site initialization exception
      	at java.lang.invoke.CallSite.makeSite(CallSite.java:341)
      	at java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:307)
      	at java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:297)
      	at aap.makeRule(SourceFile:31)
      	at com.mojang.datafixers.DataFix.getRule(DataFix.java:97)
      	at com.mojang.datafixers.DataFixerUpper.lambda$getRule$6(DataFixerUpper.java:136)
      	at com.mojang.datafixers.DataFixerUpper$$Lambda$394/5578326.apply(Unknown Source)
      	at java.util.Map.computeIfAbsent(Map.java:957)
      	at it.unimi.dsi.fastutil.longs.Long2ObjectMap.computeIfAbsent(Long2ObjectMap.java:606)
      	at it.unimi.dsi.fastutil.longs.Long2ObjectMaps$SynchronizedMap.computeIfAbsent(Long2ObjectMaps.java:530)
      	at it.unimi.dsi.fastutil.longs.Long2ObjectMaps$SynchronizedMap.computeIfAbsent(Long2ObjectMaps.java:295)
      	at com.mojang.datafixers.DataFixerUpper.getRule(DataFixerUpper.java:131)
      	at com.mojang.datafixers.DataFixerBuilder.lambda$build$1(DataFixerBuilder.java:72)
      	at com.mojang.datafixers.DataFixerBuilder$$Lambda$382/2455707.run(Unknown Source)
      	at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1618)
      	... 1 more
      Caused by: java.lang.OutOfMemoryError: Metaspace
      

            fry [Mojang] Georgii Gavrichev
            KairoMartins18 Kairo Martins
            Votes:
            41 Vote for this issue
            Watchers:
            28 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: