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).
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).