Determining plugin CPU / RAM usage?

Discussion in 'Plugin Development' started by EgyptianKing, Jul 19, 2014.

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

    EgyptianKing

    How can I check how much my plugin is using in terms of CPU and RAM usage? Do I use the Bukkit's plugin-profiling feature? Because I enabled it, but I do not know how to use it in game or in console.

    Thanks.
     
  2. Offline

    simolus3

    EgyptianKing I don't think that's possible. According to the wiki, plugin-profiling only checks how much time plugins need to handle events. If you wan't to check the amount of CPU/RAM Bukkit and the plugins need, you could use the java class Runtime. (Example)
     
  3. Offline

    mine-care

    Probably store the ram usage at the first thing onenable and after the onenable check again, use first ram minus ram after enable not accurate but...
     
Thread Status:
Not open for further replies.

Share This Page