Memory Leak.. Hmmm

Discussion in 'Bukkit Help' started by Jono20201, Oct 28, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Jono20201

    Hi,

    I work for a server hosting company, and yesterday I was bored so I quickly ran myself an order and starting putting together a small server (been a while, need to stay in the how). I setup PermissionsBukkit, mChat and installed LagMeter. I spent a little while messing around with mChat and PermissionsBukkit (changed since I last did it) and then went to do something else and never got back round to going on the server till today. I saw thing in console:

    Again, the only plugins I am running is: PermissionsBukkit, mChat and LagMeter. Running craftbukkit build #1337. Has anyone a clue how this happened when nobody was on the server and I just left it over night? I have noticed a few clients having this issue, and it would be quite handy to know whats causing it.

    Edit: The node this server is running on is running Java 7 and CentOS 5.6

    Regards,
    Jonathan
     
  2. Offline

    raidmax21

    Here are some error logs witch my help, i'm also a user from the hosting company with the same error.

    All errors logged were produced on Bukkit build 1317 .

    http://freetexthost.com/kni6fbmvw2
     
  3. I'm having the same problem, but i never get the java error the server just crashes.

    2011-10-28 13:29:23 [FINEST] TPS: 20.0 Memory free: 4244.0/5111.0 Players: 3/30

    Craftbukkit version git-Bukkit-0.0.0-1131-g86b7fa8-b1337jnks (MC: 1.8.1)
     
  4. Offline

    TnT

    What command are you using to launch your server? Looks like you're allocating 512MB RAM - I don't recommend running with less than 1 GB.
     
  5. Offline

    Jono20201

    I understand that, but we have seen this happening with servers which are >2GB in size.
     
  6. Offline

    TnT

    If it happens when allocating more RAM, it is most likely a plugin eating memory. Have you tried removing them?
    You could also be using bad GC flags in your start command. What command are you using?
     
  7. Offline

    Jono20201

    Hi

    As far as I know the plugins should be fine. They are just a standard install of permissionsbukkit, mchat and lagmeter. We are using the standard start command with no other added garbage collection flags.
     
  8. Offline

    raidmax21

    Jono and I have stripped down my server before, at one point we even rerouted my DNS to an existing server to see if it was my client that people were using causing the error.

    We have ruled out the possibility of plugins causing the error by removing all plugins and server files starting from scratch, but the error still occurs and crashes the server.

    I hope this information can help and assist with the error.
     
  9. Offline

    spaztazticii

    how do you allocate more RAM for a server i do not know how
     
  10. Offline

    Rwembee

    I don't believe I've ever had java reach the memlimit and do GC without an error. Java waits for the ram to fill before doing GC, if you dont have specific options set. Without -Xincgc it'd be over for me. From the poor documentation around the web for java opts, it looks like many of the GC options people use actually decrease performance.

    @spaztazticii -Xmx1024M is a good start
     
  11. Offline

    spaztazticii

    i dont know what that means @Rwembee
     
  12. Offline

    Rwembee

    @spaztazticii open your start.bat and add -Xmx1500M (or some other number in megabytes) in with your java start options. so itll look something like: java -Xmx1500M -Xincgc -jar craftbukkit.jar
     
  13. Offline

    spaztazticii

    thank you
     
Thread Status:
Not open for further replies.

Share This Page