Could anyone help/have a look at the code?

Discussion in 'Bukkit Help' started by Zethariel, Oct 5, 2013.

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

    Zethariel

    Hello!

    I have been running a minecraft server for little over a week now - the thing I consistently notice is that memory usage keeps getting higher and higher, especially when players come and go. It doesn't seem to want to drop down, so the server has to reset every 24 or so hours in order to not crash.

    I read all the guidelines I could find about good Bukkit practices to prevent that - I am not storing any Players, I am cautious around async events, I try and store only critical data in memory and delete all player related constructs when they log off...

    Apart from this master plugin I have, I am running a few more:
    * Logblock 1.70
    * LogBlockQuestioner
    * LWC 4.3.1
    * McMyAdmin 2.4.6.0
    * Multiverse-Core and Inventories
    * ProtocolLib
    * WorldBorder 1.7.5
    * WorldEdit 5.5.6

    I didn't hear about any of those causing trouble, so the obvious answer is that I must be doing something wrong. I would be eternally grateful if anyone could perhaps take a look at my classes and tell me what I'm doing wrong, or what could cause increased memory usage after players log in. something must be very wrong if, after a regular day of barelly a few players coming on and off, I have to reset the empty server that uses almost 1.5 Gb of the 2 I have...

    Posting all my code here would be unwieldy, so I'd ask for PMs of people interested in helping out. Apart from wanting to udnerstand what I'm doing wrong, I'd love to learn something new about Java.
     
  2. Offline

    dingus007

    This thread doesn't belong here in this subforum.
     
  3. Offline

    Goblom

    This is plugin development. We are not here to fix your server. we are here to help you write/debug your plugin.
     
  4. Offline

    doubleboss00

    Even though its not gonna be here.....LogBlock Multiverse and some other plugins can cause a lot of lag on you server. You might think of upgrading your servers ram.
     
  5. Offline

    Jade

    Moved to correct section.
     
  6. Offline

    Zethariel

    Uhhh... How could it NOT be in plugin development, when I was clearly asking for help in writing my plugin?
     
  7. Offline

    Necrodoom

    Because you are asking for help with a lag problem, and you dont even know if its your plugin or not. Step one is disable plugins one by one, and see if it helps the issue.
     
  8. Offline

    Zethariel

    Nope, not lag, but memory usage. Memory leaks.

    Never in my post have I even mentioned lags. The CPU and connection are fine.
     
Thread Status:
Not open for further replies.

Share This Page