- 11
- 1
- 0
Всем привет! Решил добавить в мод систему друзей. Всё запускается нормально до того момена когда я не запишу какое нибудь слово в txt файл, с которого берутся ники игроков. Посмотра в логах обнаружил, что память забивается на 100% при выполнении записи строк с txt файла в ArrayList.
В самом txt файлы записано только 1 слово для тестирования: Friend
В чем может быть проблема?
функция, выполняющая запись строк в ArrrayList:
public static void ReloadFriendsToList() {
Friends.clear();
try {
BufferedReader reader = new BufferedReader(new FileReader("C:\\TestMod\\Friends\\Friends.txt"));
String line = reader.readLine();
while (line != null) {
if(line != System.getProperty("line.separator")) {
Friends.add(line);
}
}
} catch (IOException e) {
e.printStackTrace();
}
}
В самом txt файлы записано только 1 слово для тестирования: Friend
В чем может быть проблема?
- Краш-лог
-
[08:42:45] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[08:42:45] [main/INFO]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[08:42:45] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[08:42:45] [main/INFO]: Forge Mod Loader version 14.23.5.2860 for Minecraft 1.12.2 loading
[08:42:45] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_51, running on Windows 10:amd64:10.0, installed at C:\Users\user\AppData\Roaming\.minecraft\runtime\jre-legacy\windows\jre-legacy
[08:42:45] [main/INFO]: Searching C:\Users\user\AppData\Roaming\.minecraft\versions\тест\mods for mods
[08:42:45] [main/INFO]: Loading tweaker optifine.OptiFineForgeTweaker from OptiFine-1.12.2_HD_U_G5.jar
[08:42:45] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[08:42:45] [main/INFO]: Loading tweak class name optifine.OptiFineForgeTweaker
[08:42:45] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[08:42:45] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[08:42:45] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[08:42:45] [main/INFO]: Calling tweak class optifine.OptiFineForgeTweaker
[08:42:45] [main/INFO]: [optifine.OptiFineForgeTweaker:dbg:56]: OptiFineForgeTweaker: acceptOptions
[08:42:45] [main/INFO]: [optifine.OptiFineForgeTweaker:dbg:56]: OptiFineForgeTweaker: injectIntoClassLoader
[08:42:45] [main/INFO]: [optifine.OptiFineClassTransformer:dbg:242]: OptiFine ClassTransformer
[08:42:45] [main/INFO]: [optifine.OptiFineClassTransformer:dbg:242]: OptiFine ZIP file: C:\Users\user\AppData\Roaming\.minecraft\versions\тест\mods\OptiFine-1.12.2_HD_U_G5.jar
[08:42:45] [main/INFO]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[08:42:50] [main/INFO]: Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557
[08:42:50] [main/INFO]: Found valid fingerprint for Minecraft. Certificate fingerprint cd99959656f753dc28d863b46769f7f8fbaefcfc
[08:42:50] [main/INFO]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[08:42:50] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[08:42:51] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[08:42:51] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[08:42:51] [main/INFO]: [optifine.OptiFineForgeTweaker:dbg:56]: OptiFineForgeTweaker: getLaunchArguments
[08:42:51] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[08:42:53] [Client thread/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', name='PROD'
[08:42:53] [Client thread/INFO]: Setting user: bebra_tyan
[08:43:00] [Client thread/INFO]: [OptiFine] *** Reflector Forge ***
[08:43:00] [Client thread/INFO]: [OptiFine] *** Reflector Vanilla ***
[08:43:00] [Client thread/WARN]: Skipping bad option: lastServer:
[08:43:01] [Client thread/INFO]: LWJGL Version: 2.9.4
[08:43:02] [Client thread/INFO]: [OptiFine]
[08:43:02] [Client thread/INFO]: [OptiFine] OptiFine_1.12.2_HD_U_G5
[08:43:02] [Client thread/INFO]: [OptiFine] Build: 20210124-142939
[08:43:02] [Client thread/INFO]: [OptiFine] OS: Windows 10 (amd64) version 10.0
[08:43:02] [Client thread/INFO]: [OptiFine] Java: 1.8.0_51, Oracle Corporation
[08:43:02] [Client thread/INFO]: [OptiFine] VM: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
[08:43:02] [Client thread/INFO]: [OptiFine] LWJGL: 2.9.4
[08:43:02] [Client thread/INFO]: [OptiFine] OpenGL: AMD Radeon HD 7400M Series, version 4.5.13399 Compatibility Profile Context 15.200.1062.1004, ATI Technologies Inc.
[08:43:02] [Client thread/INFO]: [OptiFine] OpenGL Version: 4.5.13399
[08:43:02] [Client thread/INFO]: [OptiFine] OpenGL Fancy fog: Not available (GL_NV_fog_distance)
[08:43:02] [Client thread/INFO]: [OptiFine] Maximum texture size: 16384x16384
[08:43:02] [Client thread/INFO]: [Shaders] OpenGL Version: 4.5.13399 Compatibility Profile Context 15.200.1062.1004
[08:43:02] [Client thread/INFO]: [Shaders] Vendor: ATI Technologies Inc.
[08:43:02] [Client thread/INFO]: [Shaders] Renderer: AMD Radeon HD 7400M Series
[08:43:02] [Client thread/INFO]: [Shaders] Capabilities: 2.0 2.1 3.0 3.2 4.0
[08:43:02] [Client thread/INFO]: [Shaders] GL_MAX_DRAW_BUFFERS: 8
[08:43:02] [Client thread/INFO]: [Shaders] GL_MAX_COLOR_ATTACHMENTS_EXT: 8
[08:43:02] [Client thread/INFO]: [Shaders] GL_MAX_TEXTURE_IMAGE_UNITS: 18
[08:43:02] [Client thread/INFO]: [Shaders] Load shaders configuration.
[08:43:02] [Client thread/INFO]: [Shaders] Save shaders configuration.
[08:43:02] [Client thread/INFO]: [Shaders] Shaders can not be loaded, Fast Render is enabled.
[08:43:02] [Client thread/INFO]: [Shaders] No shaderpack loaded.
[08:43:02] [Client thread/INFO]: [OptiFine] [Shaders] Delayed loading of block mappings after resources are loaded
[08:43:02] [Client thread/INFO]: [OptiFine] [Shaders] Delayed loading of item mappings after resources are loaded
[08:43:02] [Client thread/INFO]: [OptiFine] [Shaders] Delayed loading of entity mappings after resources are loaded
[08:43:02] [VersionCheck/INFO]: [OptiFine] Checking for new version
[08:43:03] [Client thread/INFO]: Forge Mod Loader has detected optifine OptiFine_1.12.2_HD_U_G5, enabling compatibility features
[08:43:03] [Client thread/INFO]: -- System Details --
Details:
Minecraft Version: 1.12.2
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: 56262328 bytes (53 MB) / 168361984 bytes (160 MB) up to 3178627072 bytes (3031 MB)
JVM Flags: 2 total; -Xmx3048M -XX:+UseConcMarkSweepGC
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML:
Loaded coremods (and transformers):
GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13399 Compatibility Profile Context 15.200.1062.1004' Renderer: 'AMD Radeon HD 7400M Series'
[08:43:03] [Client thread/INFO]: MinecraftForge v14.23.5.2860 Initialized
[08:43:03] [Client thread/INFO]: Starts to replace vanilla recipe ingredients with ore ingredients.
[08:43:03] [Client thread/INFO]: Invalid recipe found with multiple oredict ingredients in the same ingredient...
[08:43:03] [Client thread/INFO]: Replaced 1227 ore ingredients
[08:43:04] [VersionCheck/INFO]: [OptiFine] Version found: G5
[08:43:04] [Client thread/INFO]: Searching C:\Users\user\AppData\Roaming\.minecraft\versions\тест\mods for mods
[08:43:06] [Client thread/INFO]: Forge Mod Loader has identified 5 mods to load
[08:43:07] [Client thread/INFO]: Attempting connection with missing mods [minecraft, mcp, FML, forge, bthack] at CLIENT
[08:43:07] [Client thread/INFO]: Attempting connection with missing mods [minecraft, mcp, FML, forge, bthack] at SERVER
[08:43:08] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:BThack Mod
[08:43:08] [Client thread/INFO]: Processing ObjectHolder annotations
[08:43:08] [Client thread/INFO]: Found 1168 ObjectHolder annotations
[08:43:08] [Client thread/INFO]: Identifying ItemStackHolder annotations
[08:43:08] [Client thread/INFO]: Found 0 ItemStackHolder annotations
[08:43:08] [Client thread/INFO]: Configured a dormant chunk cache size of 0
[08:43:08] [Client thread/INFO]: [com.test.TestMod.CreateTestFolders:main:15]: Friends.txt already exists
[08:43:08] [Client thread/INFO]: Applying holder lookups
[08:43:08] [Client thread/INFO]: Holder lookups applied
[08:43:08] [Client thread/INFO]: Applying holder lookups
[08:43:08] [Client thread/INFO]: Holder lookups applied
[08:43:08] [Client thread/INFO]: Applying holder lookups
[08:43:08] [Client thread/INFO]: Holder lookups applied
[08:43:08] [Client thread/INFO]: Applying holder lookups
[08:43:08] [Client thread/INFO]: Holder lookups applied
[08:43:08] [Forge Version Check/INFO]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[08:43:08] [Client thread/INFO]: Injecting itemstacks
[08:43:08] [Client thread/INFO]: Itemstack injection complete
[08:43:08] [Client thread/INFO]: [OptiFine] *** Reloading textures ***
[08:43:08] [Client thread/INFO]: [OptiFine] Resource packs: Default
[08:43:10] [Sound Library Loader/INFO]: Starting up SoundSystem...
[08:43:11] [Thread-5/INFO]: Initializing LWJGL OpenAL
[08:43:11] [Thread-5/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[08:43:15] [Client thread/INFO]: [OptiFine] Multitexture: false
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/0_glass_white/glass_pane_white.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/0_glass_white/glass_white.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/10_glass_purple/glass_pane_purple.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/10_glass_purple/glass_purple.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/11_glass_blue/glass_blue.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/11_glass_blue/glass_pane_blue.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/12_glass_brown/glass_brown.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/12_glass_brown/glass_pane_brown.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/13_glass_green/glass_green.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/13_glass_green/glass_pane_green.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/14_glass_red/glass_pane_red.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/14_glass_red/glass_red.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/15_glass_black/glass_black.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/15_glass_black/glass_pane_black.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/1_glass_orange/glass_orange.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/1_glass_orange/glass_pane_orange.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/2_glass_magenta/glass_magenta.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/2_glass_magenta/glass_pane_magenta.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/3_glass_light_blue/glass_light_blue.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/3_glass_light_blue/glass_pane_light_blue.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/4_glass_yellow/glass_pane_yellow.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/4_glass_yellow/glass_yellow.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/5_glass_lime/glass_lime.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/5_glass_lime/glass_pane_lime.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/6_glass_pink/glass_pane_pink.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/6_glass_pink/glass_pink.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/7_glass_gray/glass_gray.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/7_glass_gray/glass_pane_gray.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/8_glass_silver/glass_pane_silver.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/8_glass_silver/glass_silver.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/9_glass_cyan/glass_cyan.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/9_glass_cyan/glass_pane_cyan.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/bookshelf.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/glass.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/glasspane.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/sandstone.properties
[08:43:15] [Client thread/INFO]: [OptiFine] Multipass connected textures: false
[08:43:15] [Client thread/INFO]: [OptiFine] BetterGrass: Parsing default configuration optifine/bettergrass.properties
[08:43:18] [Client thread/INFO]: [OptiFine] Custom loader sprites: 3
[08:43:18] [Client thread/INFO]: [OptiFine] Sprite dependencies: 5
[08:43:19] [Client thread/INFO]: Created: 1024x512 textures-atlas
[08:43:19] [Thread-5/INFO]: OpenAL initialized.
[08:43:19] [Sound Library Loader/INFO]: Sound engine started
[08:43:19] [Client thread/INFO]: [OptiFine] Animated sprites: 22
[08:43:22] [Client thread/INFO]: Applying holder lookups
[08:43:22] [Client thread/INFO]: Holder lookups applied
[08:43:22] [Client thread/INFO]: DIRT BLOCK >> minecraft:dirt
[08:43:22] [Client thread/INFO]: Injecting itemstacks
[08:43:22] [Client thread/INFO]: Itemstack injection complete
[08:43:22] [Client thread/INFO]: Registering Command: cleanmemory
[08:43:29] [Thread-3/INFO]: Using sync timing. 200 frames of Display.update took 415312200 nanos
[08:47:38] [Client thread/INFO]: [net.minecraft.init.Bootstrap:func_179870_a:553]: ---- Minecraft Crash Report ----
WARNING: coremods are present:
Contact their authors BEFORE contacting forge
// Hey, that tickles! Hehehe!
Time: 3/17/24 8:47 AM
Description: There was a severe problem during mod loading that has caused the game to fail
net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Test Mod (testmod)
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:3181)
at java.util.ArrayList.grow(ArrayList.java:261)
at java.util.ArrayList.ensureExplicitCapacity(ArrayList.java:235)
at java.util.ArrayList.ensureCapacityInternal(ArrayList.java:227)
at java.util.ArrayList.add(ArrayList.java:458)
at com.test.TestMod.FriendList.ReloadFriendsToList(FriendList.java:31)
at com.test.TestMod.TestMod.postinit(TestMod.java:114)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:637)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
at com.google.common.eventbus.EventBus.post(EventBus.java:217)
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:219)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Краш-лог:
[08:42:45] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[08:42:45] [main/INFO]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[08:42:45] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[08:42:45] [main/INFO]: Forge Mod Loader version 14.23.5.2860 for Minecraft 1.12.2 loading
[08:42:45] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_51, running on Windows 10:amd64:10.0, installed at C:\Users\user\AppData\Roaming\.minecraft\runtime\jre-legacy\windows\jre-legacy
[08:42:45] [main/INFO]: Searching C:\Users\user\AppData\Roaming\.minecraft\versions\тест\mods for mods
[08:42:45] [main/INFO]: Loading tweaker optifine.OptiFineForgeTweaker from OptiFine-1.12.2_HD_U_G5.jar
[08:42:45] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[08:42:45] [main/INFO]: Loading tweak class name optifine.OptiFineForgeTweaker
[08:42:45] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[08:42:45] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[08:42:45] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[08:42:45] [main/INFO]: Calling tweak class optifine.OptiFineForgeTweaker
[08:42:45] [main/INFO]: [optifine.OptiFineForgeTweaker:dbg:56]: OptiFineForgeTweaker: acceptOptions
[08:42:45] [main/INFO]: [optifine.OptiFineForgeTweaker:dbg:56]: OptiFineForgeTweaker: injectIntoClassLoader
[08:42:45] [main/INFO]: [optifine.OptiFineClassTransformer:dbg:242]: OptiFine ClassTransformer
[08:42:45] [main/INFO]: [optifine.OptiFineClassTransformer:dbg:242]: OptiFine ZIP file: C:\Users\user\AppData\Roaming\.minecraft\versions\тест\mods\OptiFine-1.12.2_HD_U_G5.jar
[08:42:45] [main/INFO]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[08:42:50] [main/INFO]: Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557
[08:42:50] [main/INFO]: Found valid fingerprint for Minecraft. Certificate fingerprint cd99959656f753dc28d863b46769f7f8fbaefcfc
[08:42:50] [main/INFO]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[08:42:50] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[08:42:51] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[08:42:51] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[08:42:51] [main/INFO]: [optifine.OptiFineForgeTweaker:dbg:56]: OptiFineForgeTweaker: getLaunchArguments
[08:42:51] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[08:42:53] [Client thread/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', name='PROD'
[08:42:53] [Client thread/INFO]: Setting user: bebra_tyan
[08:43:00] [Client thread/INFO]: [OptiFine] *** Reflector Forge ***
[08:43:00] [Client thread/INFO]: [OptiFine] *** Reflector Vanilla ***
[08:43:00] [Client thread/WARN]: Skipping bad option: lastServer:
[08:43:01] [Client thread/INFO]: LWJGL Version: 2.9.4
[08:43:02] [Client thread/INFO]: [OptiFine]
[08:43:02] [Client thread/INFO]: [OptiFine] OptiFine_1.12.2_HD_U_G5
[08:43:02] [Client thread/INFO]: [OptiFine] Build: 20210124-142939
[08:43:02] [Client thread/INFO]: [OptiFine] OS: Windows 10 (amd64) version 10.0
[08:43:02] [Client thread/INFO]: [OptiFine] Java: 1.8.0_51, Oracle Corporation
[08:43:02] [Client thread/INFO]: [OptiFine] VM: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
[08:43:02] [Client thread/INFO]: [OptiFine] LWJGL: 2.9.4
[08:43:02] [Client thread/INFO]: [OptiFine] OpenGL: AMD Radeon HD 7400M Series, version 4.5.13399 Compatibility Profile Context 15.200.1062.1004, ATI Technologies Inc.
[08:43:02] [Client thread/INFO]: [OptiFine] OpenGL Version: 4.5.13399
[08:43:02] [Client thread/INFO]: [OptiFine] OpenGL Fancy fog: Not available (GL_NV_fog_distance)
[08:43:02] [Client thread/INFO]: [OptiFine] Maximum texture size: 16384x16384
[08:43:02] [Client thread/INFO]: [Shaders] OpenGL Version: 4.5.13399 Compatibility Profile Context 15.200.1062.1004
[08:43:02] [Client thread/INFO]: [Shaders] Vendor: ATI Technologies Inc.
[08:43:02] [Client thread/INFO]: [Shaders] Renderer: AMD Radeon HD 7400M Series
[08:43:02] [Client thread/INFO]: [Shaders] Capabilities: 2.0 2.1 3.0 3.2 4.0
[08:43:02] [Client thread/INFO]: [Shaders] GL_MAX_DRAW_BUFFERS: 8
[08:43:02] [Client thread/INFO]: [Shaders] GL_MAX_COLOR_ATTACHMENTS_EXT: 8
[08:43:02] [Client thread/INFO]: [Shaders] GL_MAX_TEXTURE_IMAGE_UNITS: 18
[08:43:02] [Client thread/INFO]: [Shaders] Load shaders configuration.
[08:43:02] [Client thread/INFO]: [Shaders] Save shaders configuration.
[08:43:02] [Client thread/INFO]: [Shaders] Shaders can not be loaded, Fast Render is enabled.
[08:43:02] [Client thread/INFO]: [Shaders] No shaderpack loaded.
[08:43:02] [Client thread/INFO]: [OptiFine] [Shaders] Delayed loading of block mappings after resources are loaded
[08:43:02] [Client thread/INFO]: [OptiFine] [Shaders] Delayed loading of item mappings after resources are loaded
[08:43:02] [Client thread/INFO]: [OptiFine] [Shaders] Delayed loading of entity mappings after resources are loaded
[08:43:02] [VersionCheck/INFO]: [OptiFine] Checking for new version
[08:43:03] [Client thread/INFO]: Forge Mod Loader has detected optifine OptiFine_1.12.2_HD_U_G5, enabling compatibility features
[08:43:03] [Client thread/INFO]: -- System Details --
Details:
Minecraft Version: 1.12.2
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: 56262328 bytes (53 MB) / 168361984 bytes (160 MB) up to 3178627072 bytes (3031 MB)
JVM Flags: 2 total; -Xmx3048M -XX:+UseConcMarkSweepGC
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML:
Loaded coremods (and transformers):
GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13399 Compatibility Profile Context 15.200.1062.1004' Renderer: 'AMD Radeon HD 7400M Series'
[08:43:03] [Client thread/INFO]: MinecraftForge v14.23.5.2860 Initialized
[08:43:03] [Client thread/INFO]: Starts to replace vanilla recipe ingredients with ore ingredients.
[08:43:03] [Client thread/INFO]: Invalid recipe found with multiple oredict ingredients in the same ingredient...
[08:43:03] [Client thread/INFO]: Replaced 1227 ore ingredients
[08:43:04] [VersionCheck/INFO]: [OptiFine] Version found: G5
[08:43:04] [Client thread/INFO]: Searching C:\Users\user\AppData\Roaming\.minecraft\versions\тест\mods for mods
[08:43:06] [Client thread/INFO]: Forge Mod Loader has identified 5 mods to load
[08:43:07] [Client thread/INFO]: Attempting connection with missing mods [minecraft, mcp, FML, forge, bthack] at CLIENT
[08:43:07] [Client thread/INFO]: Attempting connection with missing mods [minecraft, mcp, FML, forge, bthack] at SERVER
[08:43:08] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:BThack Mod
[08:43:08] [Client thread/INFO]: Processing ObjectHolder annotations
[08:43:08] [Client thread/INFO]: Found 1168 ObjectHolder annotations
[08:43:08] [Client thread/INFO]: Identifying ItemStackHolder annotations
[08:43:08] [Client thread/INFO]: Found 0 ItemStackHolder annotations
[08:43:08] [Client thread/INFO]: Configured a dormant chunk cache size of 0
[08:43:08] [Client thread/INFO]: [com.test.TestMod.CreateTestFolders:main:15]: Friends.txt already exists
[08:43:08] [Client thread/INFO]: Applying holder lookups
[08:43:08] [Client thread/INFO]: Holder lookups applied
[08:43:08] [Client thread/INFO]: Applying holder lookups
[08:43:08] [Client thread/INFO]: Holder lookups applied
[08:43:08] [Client thread/INFO]: Applying holder lookups
[08:43:08] [Client thread/INFO]: Holder lookups applied
[08:43:08] [Client thread/INFO]: Applying holder lookups
[08:43:08] [Client thread/INFO]: Holder lookups applied
[08:43:08] [Forge Version Check/INFO]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[08:43:08] [Client thread/INFO]: Injecting itemstacks
[08:43:08] [Client thread/INFO]: Itemstack injection complete
[08:43:08] [Client thread/INFO]: [OptiFine] *** Reloading textures ***
[08:43:08] [Client thread/INFO]: [OptiFine] Resource packs: Default
[08:43:10] [Sound Library Loader/INFO]: Starting up SoundSystem...
[08:43:11] [Thread-5/INFO]: Initializing LWJGL OpenAL
[08:43:11] [Thread-5/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[08:43:15] [Client thread/INFO]: [OptiFine] Multitexture: false
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/0_glass_white/glass_pane_white.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/0_glass_white/glass_white.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/10_glass_purple/glass_pane_purple.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/10_glass_purple/glass_purple.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/11_glass_blue/glass_blue.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/11_glass_blue/glass_pane_blue.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/12_glass_brown/glass_brown.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/12_glass_brown/glass_pane_brown.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/13_glass_green/glass_green.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/13_glass_green/glass_pane_green.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/14_glass_red/glass_pane_red.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/14_glass_red/glass_red.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/15_glass_black/glass_black.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/15_glass_black/glass_pane_black.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/1_glass_orange/glass_orange.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/1_glass_orange/glass_pane_orange.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/2_glass_magenta/glass_magenta.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/2_glass_magenta/glass_pane_magenta.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/3_glass_light_blue/glass_light_blue.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/3_glass_light_blue/glass_pane_light_blue.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/4_glass_yellow/glass_pane_yellow.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/4_glass_yellow/glass_yellow.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/5_glass_lime/glass_lime.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/5_glass_lime/glass_pane_lime.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/6_glass_pink/glass_pane_pink.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/6_glass_pink/glass_pink.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/7_glass_gray/glass_gray.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/7_glass_gray/glass_pane_gray.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/8_glass_silver/glass_pane_silver.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/8_glass_silver/glass_silver.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/9_glass_cyan/glass_cyan.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/9_glass_cyan/glass_pane_cyan.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/bookshelf.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/glass.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/glasspane.properties
[08:43:15] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/sandstone.properties
[08:43:15] [Client thread/INFO]: [OptiFine] Multipass connected textures: false
[08:43:15] [Client thread/INFO]: [OptiFine] BetterGrass: Parsing default configuration optifine/bettergrass.properties
[08:43:18] [Client thread/INFO]: [OptiFine] Custom loader sprites: 3
[08:43:18] [Client thread/INFO]: [OptiFine] Sprite dependencies: 5
[08:43:19] [Client thread/INFO]: Created: 1024x512 textures-atlas
[08:43:19] [Thread-5/INFO]: OpenAL initialized.
[08:43:19] [Sound Library Loader/INFO]: Sound engine started
[08:43:19] [Client thread/INFO]: [OptiFine] Animated sprites: 22
[08:43:22] [Client thread/INFO]: Applying holder lookups
[08:43:22] [Client thread/INFO]: Holder lookups applied
[08:43:22] [Client thread/INFO]: DIRT BLOCK >> minecraft:dirt
[08:43:22] [Client thread/INFO]: Injecting itemstacks
[08:43:22] [Client thread/INFO]: Itemstack injection complete
[08:43:22] [Client thread/INFO]: Registering Command: cleanmemory
[08:43:29] [Thread-3/INFO]: Using sync timing. 200 frames of Display.update took 415312200 nanos
[08:47:38] [Client thread/INFO]: [net.minecraft.init.Bootstrap:func_179870_a:553]: ---- Minecraft Crash Report ----
WARNING: coremods are present:
Contact their authors BEFORE contacting forge
// Hey, that tickles! Hehehe!
Time: 3/17/24 8:47 AM
Description: There was a severe problem during mod loading that has caused the game to fail
net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Test Mod (testmod)
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:3181)
at java.util.ArrayList.grow(ArrayList.java:261)
at java.util.ArrayList.ensureExplicitCapacity(ArrayList.java:235)
at java.util.ArrayList.ensureCapacityInternal(ArrayList.java:227)
at java.util.ArrayList.add(ArrayList.java:458)
at com.test.TestMod.FriendList.ReloadFriendsToList(FriendList.java:31)
at com.test.TestMod.TestMod.postinit(TestMod.java:114)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:637)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
at com.google.common.eventbus.EventBus.post(EventBus.java:217)
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:219)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details: