I host a server on my machine. I have two monitors. I watching some shows on Hulu and doing some web browsing on one and watching my server on the other.
No one has been on for hours. But over time Memory use has slowly gone up from 45 mb, to now 181 mb. When I woke up after a nap this afternoon, use was at 638 mb!
So, is there a memory leak? Something is, over time, causing my server to bloat, even though no one is on. This has -never- been an issue before. Normally memory levels are at their -lowest- when the server is idle. Now they are higher than they have ever been when I have had 8 players on at once.
Hope this can get addressed ASAP. Not sure how to make Notch aware of this.
I've been having the same issue, ever since after the Halloween update my server has been crashing late in the morning with one or two people on playing. It runs fine with 8-10 people but after a while it crashes.
I have the same kind of issue here.... My server is running at 600+mB, and if I run my game as well, I'm easily eating up a gig of my RAM... I'm pretty sure it's not supposed to be doing this AT ALL............
Rollback Post to RevisionRollBack
Specs: Windows 7 Pro x64 i7-860
8gB RAM nVidia GTX260 Asus P7P55D Evo
I've noticed this too. I was just checking to forum to see if anyone else was having the issue. I checked my server this afternoon after it took forever to log in remotely, and it was sucking down 795MB of RAM. I've never seen it go over 45MB before. Logging in took forever and the world wouldn't load until I restarted the server.
Experienced extreme lag last night on a server with only 6 people, but the server had been running for several hours. There is another thread with some java command line options to help with lag, but I think this is probably the main culprit. The server can't really keep up at this rate. Needs to get fixed pretty quick. The graph above shows how quickly it grows, so it's not surprising that even server-grade machines with high speed connections are feeling the lag.
I was wondering if it was my computer and now I notice that others are having the same issue, with only 4 people on I am getting spammed with the can't keep up message and noticing that the MB is going up slowly but really laggy, is there a fix for this please?????
I'm also experiencing this issue on my minecraft server. Everything will be fine most of the day and then sometime while I'm asleep it will jump from 100mb to 500-700MB memory usage and eat up 30-60% of the CPU even though nobody has even logged in during that time. Running Vista x64
The server app is known to leak memory; it is a known bug since its launch, on the first version, and nobody seemed to know how to fix it. I know we need it fixed, but all we have to do now is to wait for a fix, and, until that, keep up with restarting the server because of the memory leak.
Yeah, this is a serious problem. I hope Notch and his team prioritize it, because it has been ongoing and only seems to be getting worse.
Previously I could run the server for a few days before it would become an issue. Now it's a matter of hours before it becomes unplayable, with the server app consuming up to 1.1GB of memory before it finally dies of its own accord.
Fingers crossed this is addressed really, really soon!
I'm glad I found this thread. I'm noticing the same thing having 8 or so idle servers on a box. It seems once they are started, in a few hours they will peg off max memory allocated, and seem to idle with high cpu usage (health/mobs/animals disabled even) - no mods too. Even when getting in game, CPU usage for 1 player is about stupid, when a month ago I could have 10 players on with less than 10% usage, now its 1 player per 10 ~ 15% CPU usage...please C++ server be the answer to this - this java server is an IT nightmare.
Hello Everyone,
I believe the cause of this problem is one of two things.
1.) The world is still constantly generating, even if no one is online, therefor over time it wracks up the memory usage.
2.) This game is still in Alpha, the coding/execution is not flawless, it could be a result of "lazy coding" that just works, but is not at all as optimized as it could be.
I'm not sure if this would be regarded as a "bug". This is a pretty huge game to run on Java, especially considering everything is randomly generated, and it has to adapt as players interact with the world.
The world only generates if a player goes into an area that is not already generated. I've tested maps from 1024x1024 to 20,000x20,000 - they all act the same with or without players as far as memory leaking.
The alpha excuse does get old after a while, but people are bringing this up because previously this was not a problem. Granted more features = more memory, but this is unacceptable as far as trying to host a reasonable server.
I'm running my server on a Linux VM and unattended, the server.jar will eventually run wild and consume all the CPU and RAM. I'm going to attempt to set up some graphing tomorrow and see if I can track it better. is there any kind of solution other than restart the server.jar every 12 hrs?
Seeing the same issues... It just doesn't make sense the CPU/Memory that is being used without any players on the server. Perhaps fluids and other things are still calculated even when they are not rendered in a user chunk? Maybe trees growing is the issue :smile.gif:
Auto-restart seems like a good fix for now...
Rollback Post to RevisionRollBack
Mineprints @ Craftyminer.com -- Plan and save your projects in your browser!
No one has been on for hours. But over time Memory use has slowly gone up from 45 mb, to now 181 mb. When I woke up after a nap this afternoon, use was at 638 mb!
So, is there a memory leak? Something is, over time, causing my server to bloat, even though no one is on. This has -never- been an issue before. Normally memory levels are at their -lowest- when the server is idle. Now they are higher than they have ever been when I have had 8 players on at once.
Hope this can get addressed ASAP. Not sure how to make Notch aware of this.
8gB RAM nVidia GTX260 Asus P7P55D Evo
Deflun:
Oh look, its Captain Irunatzombiesandlivewhileyoualldie
it's virtually unplayable at the moment.
Previously I could run the server for a few days before it would become an issue. Now it's a matter of hours before it becomes unplayable, with the server app consuming up to 1.1GB of memory before it finally dies of its own accord.
Fingers crossed this is addressed really, really soon!
The world only generates if a player goes into an area that is not already generated. I've tested maps from 1024x1024 to 20,000x20,000 - they all act the same with or without players as far as memory leaking.
The alpha excuse does get old after a while, but people are bringing this up because previously this was not a problem. Granted more features = more memory, but this is unacceptable as far as trying to host a reasonable server.
Auto-restart seems like a good fix for now...
http://www.minecraftforum.net/viewtopic.php?f=25&t=80323
Auto-save.
Turn it on and BAM. Since I've turned it off, I've had no mem leaks. I know it's crazy, but, for now, I just save-all periodically.
Hopefully this helps.
If someone says ____ speaks to them; they're insane.
Get the picture?