promotional bannermobile promotional banner

LagFixer

Abandoned
LagFixer will increase your server performance! Lightweight and efficient at the same time!

Lightweight and efficient at the same time!

Why LagFixer?

Well, Java creates different Objects all the time. This Objects have a specific sense but after they did their job, they are not needed anymore. Java normally sorts this "not needed" Objects out and removes them from the memory.

Thing is: Java does not automatically remove ALL not needed Objects. Some - although they became useless - stay in the memory of a server. They are most likely removed after some time, but some useless Objects always stay. The amount of useless Objects rises from time to time.

What LagFixer does, is calling the Java Method "System.gc();" after a configurable amount of time. This method makes Java search for all remaining useless Objects in order to delete them. A really effective method especially for Bukkit Servers: Bukkit Servers often run many different Plugins, and all of them create different Objects which lead to a bad performance. That's the reason, why many Bukkit Servers have to restart after some Time: Because else they would crash due to a high amount of useless Objects in memory.

Before I tried the Garbage Collector out, I didn't really believe it would work, because I thought Bukkit itself would handle things like that. I was wrong...

Just try it out yourself! Before and After LagFixer is executed, the current memory is displayed in the Console/Server.log

Features

  • Removes unused Objects from the memory
  • Executed every x seconds (Configurable amount of time)
  • Current memory before and after execution is shown

Commands

  • /memory - Shows current Memory

Permissons

  • LagFixer.Memory - Permission for the /memory command

Disclaimer

Link to Discussion against gc()

Calling the garbage collector should not be needed, but I've seen so many poorly coded plugins, where I think it actually helps. I personally always had doubts about the garbage collector and possible disadvantages but all my tests worked fine (On servers with 200+ players) and it really increased the performance. Java has an automatic clever garbage collector which should remove all unused objects as soon as a specific amount of objects is reached, however I've seen many servers crashing due to memory issues. LagFixer solved this crashes. Just test this out yourself, it doesn't hurt!

The LagFixer Team

profile avatar
  • 1
    Followers
  • 23
    Projects
  • 987.2K
    Downloads

More from Forge_User_74148228View all

  • BossShop project image

    BossShop

    • 557.0K
    • Bukkit Plugins

    BossShop allows you to create custom "GUI-Shops"

    • 557.0K
    • September 12, 2016
    • Bukkit Plugins
    • +3
  • BS-SingleUse project image

    BS-SingleUse

    • 8.1K
    • Bukkit Plugins

    SingleUse is a BossShop Addon that prevents players from buying specific items many times.

    • 8.1K
    • July 28, 2016
    • Bukkit Plugins
  • GuiShopManager project image

    GuiShopManager

    • 27.2K
    • Bukkit Plugins

    GuiShopManager allows to open Inventory GUIs (For example Shops) with clicking an Item

    • 27.2K
    • June 5, 2016
    • Bukkit Plugins
    • +3
  • CommandRank project image

    CommandRank

    • 58.3K
    • Bukkit Plugins

    CommandRank

    • 58.3K
    • April 26, 2016
    • Bukkit Plugins
    • +3
  • BossShop project image

    BossShop

    • 557.0K
    • Bukkit Plugins

    BossShop allows you to create custom "GUI-Shops"

    • 557.0K
    • September 12, 2016
    • Bukkit Plugins
    • +3
  • BS-SingleUse project image

    BS-SingleUse

    • 8.1K
    • Bukkit Plugins

    SingleUse is a BossShop Addon that prevents players from buying specific items many times.

    • 8.1K
    • July 28, 2016
    • Bukkit Plugins
  • GuiShopManager project image

    GuiShopManager

    • 27.2K
    • Bukkit Plugins

    GuiShopManager allows to open Inventory GUIs (For example Shops) with clicking an Item

    • 27.2K
    • June 5, 2016
    • Bukkit Plugins
    • +3
  • CommandRank project image

    CommandRank

    • 58.3K
    • Bukkit Plugins

    CommandRank

    • 58.3K
    • April 26, 2016
    • Bukkit Plugins
    • +3