1

Java.lang.OutOfMemoryError: Java heap space??

Yatoscum •6/30/17 9:36 pm
•
1.3k
•
7/3/2017 11:18 am
Hello!
Whenever I place modded blocks in my modded forge server, they vanish? I know for a fact It's modded. I tried making a bat file it all went well,(At least I think lol) BUT. Of course, mods still don't work. I'm only using one mod atm. (Decocraft).
This is what the bat file says: java -Xms512M -Xmx1G -jar minecraft_server.1.7.10.jar gui pause? It opens the mc server, but it still doesn't work. I have 8.00 GB.
Please help. Me and my sister really want the mods to work. ;p
Posted by
Yatoscum
Level 1 : New Miner
0

  Have something to say?

Join • Sign in

6

Yatoscum
• 07/03/2017 11:18 am
• Level 1 : New Miner
star_weaver
YatoscumHello!
Whenever I place modded blocks in my modded forge server, they vanish? I know for a fact It's modded. I tried making a bat file it all went well,(At least I think lol) BUT. Of course, mods still don't work. I'm only using one mod atm. (Decocraft).
This is what the bat file says: java -Xms512M -Xmx1G -jar minecraft_server.1.7.10.jar gui pause? It opens the mc server, but it still doesn't work. I have 8.00 GB.
Please help. Me and my sister really want the mods to work. ;p


i woulkd really like to know how u managed to get 8gb ram, considering a 32bit os (x86) can use a max of 4gb

Operating System: Windows 8.1 (x86) version 6.3 - as seen in the crashlog

So I've been doing a bunch of stuff and I forgot to check the forum xd
I saw you commented saying a couple of things. While I was gone, I tried to use the forge file to host the server instead, It's a little bit late on dropping blocks and making sounds. I tried to use the main minecraft server file. Can't drop stuff, my main problem now, is dropping stuff. It ALWAYS vanishes (Accept when I play on the forge file :/) Oh, and, it doesn't work on the bat file either.
1
star_weaver
• 07/01/2017 7:48 pm
She/Her • Level 27 : Expert Princess Button Pusher
YatoscumHello!
Whenever I place modded blocks in my modded forge server, they vanish? I know for a fact It's modded. I tried making a bat file it all went well,(At least I think lol) BUT. Of course, mods still don't work. I'm only using one mod atm. (Decocraft).
This is what the bat file says: java -Xms512M -Xmx1G -jar minecraft_server.1.7.10.jar gui pause? It opens the mc server, but it still doesn't work. I have 8.00 GB.
Please help. Me and my sister really want the mods to work. ;p


i woulkd really like to know how u managed to get 8gb ram, considering a 32bit os (x86) can use a max of 4gb

Operating System: Windows 8.1 (x86) version 6.3 - as seen in the crashlog
1
star_weaver
• 07/01/2017 7:47 pm
She/Her • Level 27 : Expert Princess Button Pusher
you need to do 2 steps,
1. get and use a 64bit version of windows
2. let the server use more than 1gb ram
1
Yatoscum
• 07/01/2017 4:05 pm
• Level 1 : New Miner
---- Minecraft Crash Report ----
// On the bright side, I bought you a teddy bear!

Time: 6/30/17 8:33 PM
Description: Exception in server tick loop

cpw.mods.fml.common.LoaderException: java.lang.OutOfMemoryError: Java heap space
at cpw.mods.fml.common.LoadController.transition(LoadController.java:163)
at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:559)
at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:88)
at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:314)
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:117)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:387)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)
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:93)
at com.mia.props.Props.loadModels(Props.java:214)
at com.mia.props.Props.preInit(Props.java:174)
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 cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
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 cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
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.7.10
Operating System: Windows 8.1 (x86) version 6.3
Java Version: 1.8.0_131, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 5552 bytes (0 MB) / 259522560 bytes (247 MB) up to 259522560 bytes (247 MB)
JVM Flags: 0 total;
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1614 5 mods loaded, 5 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.05} [Minecraft Coder Pack] (minecraft.jar)
UCH FML{7.10.99.99} [Forge Mod Loader] (forge-1.7.10-10.13.4.1614-1.7.10-universal.jar)
UCH Forge{10.13.4.1614} [Minecraft Forge] (forge-1.7.10-10.13.4.1614-1.7.10-universal.jar)
UCH PTRModelLib{1.0.0} [PTRModelLib] (Decocraft-2.4.2_1.7.10 (1).jar)
UCE props{2.4.2} [Decocraft] (Decocraft-2.4.2_1.7.10 (1).jar)
Profiler Position: N/A (disabled)
Is Modded: Definitely; Server brand changed to 'fml,forge'
Type: Dedicated Server (map_server.txt)
1
carbonawk
• 07/01/2017 2:58 pm
• Level 18 : Journeyman Cake
java 64 bit?
1
Spigot
• 07/01/2017 12:38 pm
• Level 7 : Apprentice Pokémon
Hello,

Can you please hastebin your error log. We can't really help you if you don't provide the error log.
1

Welcome