Problem Server not using allocated ram?

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Tsugaga

New Member
Jul 29, 2019
56
0
0
MindCrack 8.2

This problem only started happening when I updated mcpc+ from build 244 to 249. My server started allocating all its ram every 10 minutes but not using it, then the server would shut down after an out of memory error. I changed back to build 244 and it was mostly fixed, but now happens every 70-90 minutes. Clearly there is something wrong where my server is doing some cycle over and over, but I have no idea what. It doesn't matter if I have 10, 20, or 30 players on, all runs fine until the end of a cycle. Also I checked logs many times, there is nothing. All is normal until my server can't allocate more ram(maxes at 4gb) and then the log just says an out of memory error and starts disabling plugins, then mods, then shuts off the server.

My server usually allocates 1600mb and uses between 400-1500 of it, but during these cycles it allocates an extra 100mb every 5-10 seconds until it reaches 4gb, while the ram usage is still between 400-1500. I know the server doesn't need more ram which is why it isn't using it, but it seems to be getting confused and thinks it needs more and more, then shuts down once it can't allocate more ram that it thinks it needs. I really have no idea why my server is doing this.

For anyone confused by my ram rambling, I have dynamic ram. My server has a total of 4096mb of ram, but only allocates what it needs, which is usually a max of around 1600, which is where it sits normally, and uses 400-1500 of it(this is normal).
 

Tsugaga

New Member
Jul 29, 2019
56
0
0
Bump. So many topics here with no answers, this is the best place to post such issues isn't it?...
 

Dingham

New Member
Jul 29, 2019
294
0
0
The best place would be the offical support site. Click on the support button at the top.

This section is where server owners help each other out (as I understand it). However there seems to be a wave of new member repeating issues, not reading this and expecting other people to do the work for them. I even had someone recently offer to send me all his configs and file to fix his server, which i hadn't even offered to do. I'm personally losing my stomach for this section, I wouldn't blame the other guys i see helping if they felt the same.

Your issue; read some of the many posts talking about memory leaks.
 

Tsugaga

New Member
Jul 29, 2019
56
0
0
The best place would be the offical support site. Click on the support button at the top.

This section is where server owners help each other out (as I understand it). However there seems to be a wave of new member repeating issues, not reading this and expecting other people to do the work for them. I even had someone recently offer to send me all his configs and file to fix his server, which i hadn't even offered to do. I'm personally losing my stomach for this section, I wouldn't blame the other guys i see helping if they felt the same.

Your issue; read some of the many posts talking about memory leaks.
Oh I figured this section was mainly directed at ftb devs and whoever else would have the knowledge to post answers. I have already read the topic you linked, and I have NO idea how it relates to my topic. I am not asking anyone to do anything for me, or asking how to do something. I am simply asking if anyone knows why my server feels it needs to allocate ram, but not even use it. Is this a memory leak? Because that much I didn't know. Is this behavior known as a memory leak? When a server keeps allocating memory and not using it? I hope I made it clear that my server allocated it's max ram but is NOT using it, because it doesn't need to, but think's it does need it.

I have already googled for hours before and after I made this topic. Countless searches such as "FTB memory leak", "mindcrack memory leak", "minecraft memory leak", "mindcrack server allocating ram but not using it", "mindcrack server out of memory", and countless other searches. And with most of these searches I find this topic as the top search result...So that isn't promising.

I can usually figure out these problems using google or checking logs, but I really can't find anything with google searches, and all my console is saying is "server out of memory"(something similar) and then it says "stopping server" and proceeds to disabled plugins/mods and then stops.


If I had to guess it would be Xycraft... Ever since I updated to MindCrack 8.2 xycraft is soooo buggy and always gives tile errors. Possibly once many members started building xycraft stuff it started causing the issues.

Also before this topic, it was happening every 10-15 minutes, along with the downgrade from 249 to 244, there was a 2 day rollback. When I did this the cycle increased to 70-90 mins, now down to 20-40, and will probably get lower. So I assume something that players are adding to the world is causing these problems.
 

Tsugaga

New Member
Jul 29, 2019
56
0
0
Here is Xycraft spam that happened right before the memory leak started, 5-10 minutes before my servers most recent out of memory restart. The errors total 2,600 lines, all happening in 1 second. LINK

Here is one part of it. It says something about a tile error, and AnvilChunkLoader

Code:
2013-04-01 19:44:35 [INFO] Attempted to place a tile entity (soaryn.xycraft.machines.block.multiblock.TileMultiCopy@187aa0af) at 2269,64,-3842 (SMOOTH_BRICK) where there was no entity tile!
2013-04-01 19:44:35 [INFO] Chunk coordinates: 2256,-3856
2013-04-01 19:44:35 [SEVERE] java.lang.Exception
2013-04-01 19:44:35 [SEVERE]    at zz.a(Chunk.java:1086)
2013-04-01 19:44:35 [SEVERE]    at zz.a(Chunk.java:1050)
2013-04-01 19:44:35 [SEVERE]    at aam.loadEntities(AnvilChunkLoader.java:509)
2013-04-01 19:44:35 [SEVERE]    at org.bukkit.craftbukkit.v1_4_R1.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:44)
2013-04-01 19:44:35 [SEVERE]    at org.bukkit.craftbukkit.v1_4_R1.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:10)
2013-04-01 19:44:35 [SEVERE]    at org.bukkit.craftbukkit.v1_4_R1.util.AsynchronousExecutor$Task.finish(AsynchronousExecutor.java:179)
2013-04-01 19:44:35 [SEVERE]    at org.bukkit.craftbukkit.v1_4_R1.util.AsynchronousExecutor.finishActive(AsynchronousExecutor.java:287)
2013-04-01 19:44:35 [SEVERE]    at org.bukkit.craftbukkit.v1_4_R1.chunkio.ChunkIOExecutor.tick(ChunkIOExecutor.java:26)
2013-04-01 19:44:35 [SEVERE]    at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:907)
2013-04-01 19:44:35 [SEVERE]    at ho.r(DedicatedServer.java:309)
2013-04-01 19:44:35 [SEVERE]    at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:857)
2013-04-01 19:44:35 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:744)
2013-04-01 19:44:35 [SEVERE]    at fy.run(ThreadMinecraftServer.java:16)
 

dariusc93

New Member
Jul 29, 2019
58
0
0
Here is Xycraft spam that happened right before the memory leak started, 5-10 minutes before my servers most recent out of memory restart. The errors total 2,600 lines, all happening in 1 second. LINK

Here is one part of it. It says something about a tile error, and AnvilChunkLoader

Code:
2013-04-01 19:44:35 [INFO] Attempted to place a tile entity (soaryn.xycraft.machines.block.multiblock.TileMultiCopy@187aa0af) at 2269,64,-3842 (SMOOTH_BRICK) where there was no entity tile!
2013-04-01 19:44:35 [INFO] Chunk coordinates: 2256,-3856
2013-04-01 19:44:35 [SEVERE] java.lang.Exception
2013-04-01 19:44:35 [SEVERE]    at zz.a(Chunk.java:1086)
2013-04-01 19:44:35 [SEVERE]    at zz.a(Chunk.java:1050)
2013-04-01 19:44:35 [SEVERE]    at aam.loadEntities(AnvilChunkLoader.java:509)
2013-04-01 19:44:35 [SEVERE]    at org.bukkit.craftbukkit.v1_4_R1.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:44)
2013-04-01 19:44:35 [SEVERE]    at org.bukkit.craftbukkit.v1_4_R1.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:10)
2013-04-01 19:44:35 [SEVERE]    at org.bukkit.craftbukkit.v1_4_R1.util.AsynchronousExecutor$Task.finish(AsynchronousExecutor.java:179)
2013-04-01 19:44:35 [SEVERE]    at org.bukkit.craftbukkit.v1_4_R1.util.AsynchronousExecutor.finishActive(AsynchronousExecutor.java:287)
2013-04-01 19:44:35 [SEVERE]    at org.bukkit.craftbukkit.v1_4_R1.chunkio.ChunkIOExecutor.tick(ChunkIOExecutor.java:26)
2013-04-01 19:44:35 [SEVERE]    at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:907)
2013-04-01 19:44:35 [SEVERE]    at ho.r(DedicatedServer.java:309)
2013-04-01 19:44:35 [SEVERE]    at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:857)
2013-04-01 19:44:35 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:744)
2013-04-01 19:44:35 [SEVERE]    at fy.run(ThreadMinecraftServer.java:16)

Your using MCPC+ and xycraft doesnt work well with it. I recommend talking to the developers of MCPC and see what they can do or remove xycraft (it will keep crashing in the future). Your other option is to move to something like bukkitforge, or back to vanilla forge.