• 0

    posted a message on Java running out of memory

    I'm continously getting crashes with errcor code 1 and this message in the error log "There is insufficient memory for the Java Runtime Environment to continue."  I'm playing mechanical mastery with a r5 2600, a rtx 3070 and 16 GB of ram, 7 of those allocated to mc in the curseforge settings. i tried reinstalling curseforge, reinstalling the modpack, running different modpacks, reinstalling java and reinstalling mc. does anyone have a guess what causes this?

     

     

    # There is insufficient memory for the Java Runtime Environment to continue.
    # Native memory allocation (malloc) failed to allocate 2097152 bytes for AllocateHeap
    # Possible reasons:
    # The system is out of physical RAM or swap space
    # The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
    # Possible solutions:
    # Reduce memory load on the system
    # Increase physical memory or swap space
    # Check if swap backing store is full
    # Decrease Java heap size (-Xmx/-Xms)
    # Decrease number of Java threads
    # Decrease Java thread stack sizes (-Xss)
    # Set larger code cache with -XX:ReservedCodeCacheSize=
    # JVM is running with Zero Based Compressed Oops mode in which the Java heap is
    # placed in the first 32GB address space. The Java Heap base address is the
    # maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress
    # to set the Java Heap base and to place the Java Heap above 32GB virtual address.
    # This output file may be truncated or incomplete.
    #
    # Out of Memory Error (allocation.cpp:44), pid=11436, tid=4296
    #
    # JRE version: OpenJDK Runtime Environment Microsoft-28056 (17.0.1+12) (build 17.0.1+12-LTS)
    # Java VM: OpenJDK 64-Bit Server VM Microsoft-28056 (17.0.1+12-LTS, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
    # No core dump will be written. Minidumps are not enabled by default on client versions of Windows
    #

    --------------- S U M M A R Y ------------

    Command Line: -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Dos.name=Windows 10 -Dos.version=10.0 -Xss1M -Djava.library.path=C:\Users\David\Documents\Curse\Minecraft\Install\bin\18d6e950fca2d2305e7d3b46e8e6ccd26e67c65b -Dminecraft.launcher.brand=minecraft-launcher -Dminecraft.launcher.version=2.6.16 -Djava.net.preferIPv6Addresses=system -DignoreList=bootstraplauncher,securejarhandler,asm-commons,asm-util,asm-analysis,asm-tree,asm,JarJarFileSystems,client-extra,fmlcore,javafmllanguage,lowcodelanguage,mclanguage,forge-,forge-40.2.10.jar,forge-40.2.10 -DmergeModules=jna-5.10.0.jar,jna-platform-5.10.0.jar,java-objc-bridge-1.0.0.jar -DlibraryDirectory=C:\Users\David\Documents\Curse\Minecraft\Install\libraries --module-path=C:\Users\David\Documents\Curse\Minecraft\Install\libraries/cpw/mods/bootstraplauncher/1.0.0/bootstraplauncher-1.0.0.jar;C:\Users\David\Documents\Curse\Minecraft\Install\libraries/cpw/mods/securejarhandler/1.0.8/securejarhandler-1.0.8.jar;C:\Users\David\Documents\Curse\Minecraft\Install\libraries/org/ow2/asm/asm-commons/9.5/asm-commons-9.5.jar;C:\Users\David\Documents\Curse\Minecraft\Install\libraries/org/ow2/asm/asm-util/9.5/asm-util-9.5.jar;C:\Users\David\Documents\Curse\Minecraft\Install\libraries/org/ow2/asm/asm-analysis/9.5/asm-analysis-9.5.jar;C:\Users\David\Documents\Curse\Minecraft\Install\libraries/org/ow2/asm/asm-tree/9.5/asm-tree-9.5.jar;C:\Users\David\Documents\Curse\Minecraft\Install\libraries/org/ow2/asm/asm/9.5/asm-9.5.jar;C:\Users\David\Documents\Curse\Minecraft\Install\libraries/net/minecraftforge/JarJarFileSystems/0.3.19/JarJarFileSystems-0.3.19.jar --add-modules=ALL-MODULE-PATH --add-opens=java.base/java.util.jar=cpw.mods.securejarhandler --add-opens=java.base/java.lang.invoke=cpw.mods.securejarhandler --add-exports=java.base/sun.security.util=cpw.mods.securejarhandler --add-exports=jdk.naming.dns/com.sun.jndi.dns=java.naming -Xmx7104m -Xms256m -Dminecraft.applet.TargetDirectory=C:\Users\David\Documents\Curse\Minecraft\Instances\Mechanical Mastery -Dfml.ignorePatchDiscrepancies=true -Dfml.ignoreInvalidMinecraftCertificates=true -Duser.language=en -Duser.country=US -Dlog4j.configurationFile=C:\Users\David\Documents\Curse\Minecraft\Install\assets\log_configs\client-1.12.xml cpw.mods.bootstraplauncher.BootstrapLauncher --username Syco2108 --version forge-40.2.10 --gameDir C:\Users\David\Documents\Curse\Minecraft\Instances\Mechanical Mastery --assetsDir C:\Users\David\Documents\Curse\Minecraft\Install\assets --assetIndex 1.18 --uuid d7d4bf6dc0b740cfb1f1994c2e8c98a1 --clientId OTgxZTVkYTYtNTQyYy00YTIwLTgwMmQtN2ZiMDZjYTFiOTA4 --xuid 2535468832007768 --userType msa --versionType release --width 1024 --height 768 --launchTarget forgeclient --fml.forgeVersion 40.2.10 --fml.mcVersion 1.18.2 --fml.forgeGroup net.minecraftforge --fml.mcpVersion 20220404.173914

    Host: AMD Ryzen 5 2600 Six-Core Processor , 12 cores, 15G, Windows 10 , 64 bit Build 19041 (10.0.19041.3155)
    Time: Sat Aug 12 17:44:16 2023 Mitteleuropäische Sommerzeit elapsed time: 213.972275 seconds (0d 0h 3m 33s)

     

    Posted in: Support
  • To post a comment, please or register a new account.