Hexeption / MCP-Reborn

MCP-Reborn is an MCP (Mod Coder Pack) for Minecraft for making modded clients and researching its code. (1.13-1.20.1)
Other
1.07k stars 135 forks source link

1.19.1 not launching... #213

Open JS427 opened 2 years ago

JS427 commented 2 years ago

ERROR MESSAGE:

3:44:17 PM: Executing 'runclient'...

Configure project : Java: 17.0.1 JVM: 17.0.1+12-LTS-39(Oracle Corporation) Arch: aarch64 WARNING: This project is configured to use the official obfuscation mappings provided by Mojang. These mapping fall under their associated license, you should be fully aware of this license. For the latest license text, refer below, or the reference copy here: https://github.com/MinecraftForge/MCPConfig/blob/master/Mojang.md, You can hide this warning by running the hideOfficialWarningUntilChanged task WARNING: (c) 2020 Microsoft Corporation. These mappings are provided "as-is" and you bear the risk of using them. You may copy and use the mappings for development purposes, but you may not redistribute the mappings complete and unmodified. Microsoft makes no warranties, express or implied, with respect to the mappings provided here. Use and modification of this document or the source code (in any form) of Minecraft: Java Edition is governed by the Minecraft End User License Agreement available at https://account.mojang.com/documents/minecraft_eula.

Task :compileJava /Users/jonghyun/Desktop/MCP-Reborn-1.19/src/main/java/net/minecraft/network/FriendlyByteBuf.java:104: warning: [dep-ann] deprecated item is not annotated with @Deprecated public T readWithCodec(Codec p130058) { ^ /Users/jonghyun/Desktop/MCP-Reborn-1.19/src/main/java/net/minecraft/network/FriendlyByteBuf.java:114: warning: [dep-ann] deprecated item is not annotated with @Deprecated public void writeWithCodec(Codec p130060, T p130061) { ^ /Users/jonghyun/Desktop/MCP-Reborn-1.19/src/main/java/net/minecraft/world/level/levelgen/placement/NoiseBasedCountPlacement.java:34: warning: [removal] BIOME_INFO_NOISE in Biome has been deprecated and marked for removal double d0 = Biome.BIOME_INFO_NOISE.getValue((double)p226353.getX() / this.noiseFactor, (double)p226353.getZ() / this.noiseFactor, false); ^ /Users/jonghyun/Desktop/MCP-Reborn-1.19/src/main/java/net/minecraft/world/level/levelgen/placement/NoiseThresholdCountPlacement.java:34: warning: [removal] BIOME_INFO_NOISE in Biome has been deprecated and marked for removal double d0 = Biome.BIOME_INFO_NOISE.getValue((double)p226356.getX() / 200.0D, (double)p226356.getZ() / 200.0D, false); ^ /Users/jonghyun/Desktop/MCP-Reborn-1.19/src/main/java/net/minecraft/world/level/biome/BiomeSpecialEffects.java:216: warning: [removal] BIOME_INFO_NOISE in Biome has been deprecated and marked for removal double d0 = Biome.BIOME_INFO_NOISE.getValue(p48097 0.0225D, p48098 0.0225D, false); ^ /Users/jonghyun/Desktop/MCP-Reborn-1.19/src/main/java/net/minecraft/world/level/levelgen/structure/pieces/StructurePiecesBuilder.java:48: warning: [dep-ann] deprecated item is not annotated with @Deprecated public void moveInsideHeights(RandomSource p226971, int p226972, int p226973) { ^ /Users/jonghyun/Desktop/MCP-Reborn-1.19/src/main/java/net/minecraft/Util.java:840: warning: [removal] AccessController in java.security has been deprecated and marked for removal Process process = AccessController.doPrivileged((PrivilegedExceptionAction)(() -> { ^ /Users/jonghyun/Desktop/MCP-Reborn-1.19/src/main/java/net/minecraft/util/thread/NamedThreadFactory.java:15: warning: [removal] SecurityManager in java.lang has been deprecated and marked for removal SecurityManager securitymanager = System.getSecurityManager(); ^ /Users/jonghyun/Desktop/MCP-Reborn-1.19/src/main/java/net/minecraft/util/thread/NamedThreadFactory.java:15: warning: [removal] getSecurityManager() in System has been deprecated and marked for removal SecurityManager securitymanager = System.getSecurityManager(); ^

Expiring Daemon because JVM heap space is exhausted 3:45:06 PM: Execution finished 'runclient'.

nyan1337 commented 2 years ago

I have the same problem

brnfhz commented 2 years ago

Try to increase the allocated memory with -Xms2G -Xmx2G, set the number to the amount in gigabytes, and make sure that the Xmx is equal or higher than the Xms

nyan1337 commented 2 years ago

Try to increase the allocated memory with -Xms2G -Xmx2G, set the number to the amount in gigabytes, and make sure that the Xmx is equal or higher than the Xms

That fixed it, thanks