Absiinthe Posted March 5, 2017 Share Posted March 5, 2017 So, I wanted to create a Modded Multiplayer Server with Forge, and I went through all the required steps of multiple tutorials, but my server is only running in Vanilla. Whenever I try to launch forge-1.8.9-11.15.1.1902-1.8.9-universal, it crashes after a minute or so of running, and doesn't load the mods. Here is the crash report given: ---- Minecraft Crash Report ---- // I let you down. Sorry Time: 3/5/17 12:14 PM Description: Exception in server tick loop net.minecraftforge.fml.common.LoaderException: java.lang.OutOfMemoryError: Java heap space at net.minecraftforge.fml.common.LoadController.transition(LoadController.java:162) at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:559) at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:88) at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:320) at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:112) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:441) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.OutOfMemoryError: Java heap space at java.awt.image.DataBufferByte.<init>(Unknown Source) at java.awt.image.ComponentSampleModel.createDataBuffer(Unknown Source) at java.awt.image.Raster.createWritableRaster(Unknown Source) at javax.imageio.ImageTypeSpecifier.createBufferedImage(Unknown Source) at javax.imageio.ImageReader.getDestination(Unknown Source) at com.sun.imageio.plugins.png.PNGImageReader.readImage(Unknown Source) at com.sun.imageio.plugins.png.PNGImageReader.read(Unknown Source) at com.mia.craftstudio.utils.ImageIOCS.read(ImageIOCS.java:26) at com.mia.craftstudio.CSModel.<init>(CSModel.java:379) at com.mia.craftstudio.CSPack.readPackFile(CSPack.java:135) at com.mia.craftstudio.CSProject.loadPacks(CSProject.java:241) at com.mia.craftstudio.minecraft.forge.CSLibMod.getCSProjectAndLoad(CSLibMod.java:86) at com.mia.props.Props.loadModels(Props.java:218) at com.mia.props.Props.preInit(Props.java:178) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.8.9 Operating System: Windows 10 (x86) version 10.0 Java Version: 1.8.0_121, Oracle Corporation Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation Memory: 225704 bytes (0 MB) / 259522560 bytes (247 MB) up to 259522560 bytes (247 MB) JVM Flags: 0 total; IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP 9.19 Powered by Forge 11.15.1.1902 8 mods loaded, 8 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCH mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) UCH FML{8.0.99.99} [Forge Mod Loader] (forge-1.8.9-11.15.1.1902-1.8.9-universal.jar) UCH Forge{11.15.1.1902} [Minecraft Forge] (forge-1.8.9-11.15.1.1902-1.8.9-universal.jar) UCH BiblioCraft{2.0.1} [BiblioCraft] (BiblioCraft[v2.0.1][MC1.8.9].jar) UCH PTRModelLib{1.0.0} [PTRModelLib] (Decocraft-2.3.6.1_1.8.9.jar) UCE props{2.3.6.1} [Decocraft] (Decocraft-2.3.6.1_1.8.9.jar) UCH moreplayermodels{1.8.9} [MorePlayerModels] (MorePlayerModels_1.8.9(27feb16).jar) UCH harvestcraft{1.8.9d} [Pam's HarvestCraft] (Pam's HarvestCraft 1.8.9e.jar) Loaded coremods (and transformers): Profiler Position: N/A (disabled) Is Modded: Definitely; Server brand changed to 'fml,forge' Type: Dedicated Server (map_server.txt) Please help, thank you. Quote Link to comment Share on other sites More sharing options...
larsgerrits Posted March 5, 2017 Share Posted March 5, 2017 (edited) Try assigning more RAM to Minecraft (256MB is not enough). Edited March 5, 2017 by larsgerrits Quote Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/ Link to comment Share on other sites More sharing options...
Absiinthe Posted March 5, 2017 Author Share Posted March 5, 2017 1 minute ago, larsgerrits said: Assign more RAM to Minecraft (256MB is not enough). How would I do that? Thank you for the quick response. Quote Link to comment Share on other sites More sharing options...
larsgerrits Posted March 5, 2017 Share Posted March 5, 2017 If you run the server via a command line or a batch file (practically the same), add the -Xmx[ram] to the line starting the server. You could try to look in a config file somewhere (Does that exist?). Quote Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/ Link to comment Share on other sites More sharing options...
Absiinthe Posted March 5, 2017 Author Share Posted March 5, 2017 13 minutes ago, larsgerrits said: If you run the server via a command line or a batch file (practically the same), add the -Xmx[ram] to the line starting the server. You could try to look in a config file somewhere (Does that exist?). The only config files which exist are for the mods, and two from Forge, called "forge.cfg" and "forgeChunkLoading.cfg" But, I noticed that it is possible to change the JMV Arguments from the new launcher, and it contains the -Xmx[ram] section. Can I use this, instead Quote Link to comment Share on other sites More sharing options...
Absiinthe Posted March 5, 2017 Author Share Posted March 5, 2017 8 minutes ago, diesieben07 said: The launcher has nothing to do with how the server is run. And the cfg files don't contain the JVM arguments. There is a lot of information on google if you search for "assign more memory to java". Okay, thank you. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.