Java heap space Exit Code: -1

carbone292

Aventurier
17 Septembre 2020
4
1
0
1
45
bonjour depuis bientôt 3 semaines mon fils n'arrive plus a jouer a minecraft il a ce message d'erreur :
The game crashed whilst initializing game
Error: java.lang.OutOfMemoryError: Java heap space
Exit Code: -1

j'ai essayé d'alloué plus de ram en remplacant 2 par 4
j'ai reinstallé minecraft et java egalemnt rine n'y fait

j'ai essayé bcp de chose sans résultat
voici le rapport
Code:
---- Minecraft Crash Report ----
// There are four lights!

Time: 21/09/20 22:54
Description: Initializing game

java.lang.OutOfMemoryError: Java heap space
    at java.util.Arrays.copyOf(Arrays.java:3332)
    at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:137)
    at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:121)
    at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:569)
    at java.lang.StringBuffer.append(StringBuffer.java:369)
    at java.io.BufferedReader.readLine(BufferedReader.java:370)
    at java.io.BufferedReader.readLine(BufferedReader.java:389)
    at java.io.BufferedReader$1.hasNext(BufferedReader.java:571)
    at java.util.Iterator.forEachRemaining(Iterator.java:115)
    at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
    at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
    at dka.a(SourceFile:238)
    at dka.<init>(SourceFile:209)
    at djw.<init>(SourceFile:426)
    at net.minecraft.client.main.Main.main(SourceFile:177)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Render thread
Stacktrace:
    at java.util.Arrays.copyOf(Arrays.java:3332)
    at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:137)
    at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:121)
    at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:569)
    at java.lang.StringBuffer.append(StringBuffer.java:369)
    at java.io.BufferedReader.readLine(BufferedReader.java:370)
    at java.io.BufferedReader.readLine(BufferedReader.java:389)
    at java.io.BufferedReader$1.hasNext(BufferedReader.java:571)
    at java.util.Iterator.forEachRemaining(Iterator.java:115)
    at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
    at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
    at dka.a(SourceFile:238)
    at dka.<init>(SourceFile:209)
    at djw.<init>(SourceFile:426)

-- Initialization --
Details:
Stacktrace:
    at net.minecraft.client.main.Main.main(SourceFile:177)

-- System Details --
Details:
    Minecraft Version: 1.16.3
    Minecraft Version ID: 1.16.3
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_51, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 2821890888 bytes (2691 MB) / 4060086272 bytes (3872 MB) up to 4294967296 bytes (4096 MB)
    CPUs: 8
    JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx4G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
    Launched Version: 1.16.3
    Backend library: LWJGL version 3.2.2 build 10
    Backend API: NO CONTEXT
    GL Caps:
    Using VBOs: Yes
    Is Modded: Probably not. Jar signature remains and client brand is untouched.
    Type: Client (map_client.txt)
    CPU: <unknown>

si quelqu'un a une idée je suis preneur merci d'avance
 
Bonsoir !

Votre fils utilise-t-il un resourcepack ? Si oui, il se pourrait qu'il soit trop gourmand en performance.

En espérant vous avoir aidé,
EdgarPi
 
Voyez pour déplacer/supprimer le(s) resource(s) pack(s) récent(s), depuis que le jeu ne se lance pas

Cordialement,
EdgarPi
 
Dernière édition: