MemoryChecker
Memory Checker! v1.3.1

This plugin can help You to check and free up Your memory!
STILL SEE "freeing failed" or "nothing freed" ? READ HERE MORE
FAQ
What is freeing up memory?
- It is just removing useless parts of data in memory.
Is it safe and effective?
- Absolutly yes!!
Server is not restarting?
- Go to this section
Commands
- /mem or /memory
With this command You can free up server memory.
- /mem check or /memory check
It's showing memory stats.
- /mem restart or /memory restart
With this command You can restart your server manualy!
Configuration
time is interval in seconds, if 0 then disabled
debug is boolean(true/false) to debug automatic freeing up mem or not
min-ram is minimum amount of ram which below server will restart
auto-update and automatic updating is not working now!
Memory: time: restart: 120 freeup: 600 debug: false auto-update: true auto-restart: true min-ram: 250 Messages: fail: first-try: 'Memory not freed :(' second-try: 'Try failed :(' trying: 'Second try!' no-perm: 'You dont have permissions!' info: freed-memory: 'Huray! Memory freed: ' total-memory: 'Total memory: ' free-memory: 'Free memory: ' used-memory: 'Used memory: ' automatic-on: 'Automatic freeing enabled!' automatic-off: 'Automatic freeing disabled!' automatic-restart-on: 'AutoRestart Activated!' automatic-restart-off: 'AutoRestart DeActivated!' restart: console: 'Safety Server Rebooting!' players: 'Server will be restarted!'
Polish version of config here / Polska wersja konfiguracji tutaj.
ServerLaunchScript
Ups! Server is not restarting propely?
Try editing server script from(example):
@echo off -Xms... -Xms... -jar ....jar/zip pause
to(example):
@echo off :restart -Xms... -Xms... -jar ....jar/zip goto restart pause
Permissions
All permissions are default for Op.
- memory.*
- memory.check - Ability to check RAM.
- memory.free - Ability to free up RAM.
- memory.restart - Ability to restart the server.
STILL SEE "freeing failed" or "nothing freed" ? READ HERE MORE
Changelog
You can find full changelog here > EN/PL.
TODO
- Plugin will be rewritten < SOON!
- Update-check function < SOON!
- Used memory graph > OH MY... PANEL IS COMING!
- Better information system about freed up memory < SOON!
- Many many new features to improve server performance!
STILL SEE "freeing failed" or "nothing freed" ? READ HERE MORE
Statiscits table:
- used 2,1Gb freed 638 Mb RAM
- used 1Gb freed 192Mb RAM
- used 200Mb freed 30 Mb RAM
Thanks
Thanks to endrju23 for providing test server! :)
Donate and Contact
Hello! Of course donations are very pleased :) You can do it here by PayPal!
If You want to contact me other way(other then pm here...) You can message me on Skype!
shaquu.tgf
-
View User Profile
-
Send Message
Posted Jul 6, 2013@Zilacon
Patient please. I really want to get into making this plugin but I've changed computer and i need to download Eclipse etc. And of course, i don't have enough time...
-
View User Profile
-
Send Message
Posted Jul 4, 2013@ShakuF
1 month later...
-
View User Profile
-
Send Message
Posted Jun 19, 2013I apologise. Vacation is coming, and new features too ;)
Plugin update is "dead" because of school at now(will change in days).
-
View User Profile
-
Send Message
Posted Jun 3, 2013@Zilacon
Ymm, sorry for no answers, fidex version is(close) on the way! ;)
-
View User Profile
-
Send Message
Posted Jun 3, 2013@ShakuF
Hello?
-
View User Profile
-
Send Message
Posted May 30, 2013@ShakuF
Bukkit 1.5.2 / Tekkit 1.5.1 / Tekkit Classic 1.2.5
3 Servers all same errors... 1.2.6 worked on Tekkit Classic but whatever you changed on 1.2.61 does not work on classic no more :(
-
View User Profile
-
Send Message
Posted May 30, 2013@Zilacon
Could You give me Your specification of server, please?
-
View User Profile
-
Send Message
Posted May 29, 2013@ShakuF
Nope still having issues using commands in the console.
-
View User Profile
-
Send Message
Posted May 27, 2013@Zilacon
1.2.61 relased and hope it will fix the problem! If not then return to 1.2.5 please!
-
View User Profile
-
Send Message
Posted May 27, 2013@ShakuF
01:20:45 [WARNING] Unexpected exception while parsing console command "memory check" org.bukkit.command.CommandException: Unhandled exception executing command 'memory' in plugin MemoryChecker v1.2.6 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:189) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.dispatchCommand(CraftServer.java:555) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.dispatchServerCommand(CraftServer.java:538) at net.minecraft.server.dedicated.DedicatedServer.func_71333_ah(DedicatedServer.java:367) at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:324) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:793) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:677) at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573) Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_5_R2.command.ColouredConsoleSender cannot be cast to org.bukkit.entity.Player at pl.shaquu.eventsguardian.Free.onCommand(Free.java:65) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 8 more
01:20:57 [WARNING] Unexpected exception while parsing console command "memory" org.bukkit.command.CommandException: Unhandled exception executing command 'memory' in plugin MemoryChecker v1.2.6 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:189) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.dispatchCommand(CraftServer.java:555) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.dispatchServerCommand(CraftServer.java:538) at net.minecraft.server.dedicated.DedicatedServer.func_71333_ah(DedicatedServer.java:367) at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:324) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:793) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:677) at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573) Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_5_R2.command.ColouredConsoleSender cannot be cast to org.bukkit.entity.Player at pl.shaquu.eventsguardian.Free.onCommand(Free.java:65) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 8 more
01:21:45 [WARNING] Unexpected exception while parsing console command "mem" org.bukkit.command.CommandException: Unhandled exception executing command 'mem' in plugin MemoryChecker v1.2.6 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:189) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.dispatchCommand(CraftServer.java:555) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.dispatchServerCommand(CraftServer.java:538) at net.minecraft.server.dedicated.DedicatedServer.func_71333_ah(DedicatedServer.java:367) at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:324) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:793) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:677) at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573) Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_5_R2.command.ColouredConsoleSender cannot be cast to org.bukkit.entity.Player at pl.shaquu.eventsguardian.Free.onCommand(Free.java:65) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 8 more
Any ideas?
-
View User Profile
-
Send Message
Posted May 24, 2013MemoryChecker 1.2.6 is uploaded!
Will appear soon.
Changelog:
-
View User Profile
-
Send Message
Posted May 8, 2013I'm going to do FreeingMessage fixes first in spite of You, sorry ;) Fancy(or not) graphs/charts will come later!
By the way. Memory Checker v1.2.5 with console commands is visible now!
-
View User Profile
-
Send Message
Posted May 4, 2013@ShakuF
You were right, I tried to execute this command from the game and it worked, thank You very much. :)
@Edit: I recommend the plugin, works fully properly!
-
View User Profile
-
Send Message
Posted May 4, 2013MemoryChecker 1.2.5 is uploaded! Will appear soon.
Changelog:
-
View User Profile
-
Send Message
Posted May 4, 2013@UssCompany
Hej ;) Thank You for this report.
In the future to report errors and problems use ticket system please!
You can find it here http://dev.bukkit.org/server-mods/memorychecker/create-ticket/
I think the problem is that You try to use commands from console.
Unfortunately it's impossible to do it because plugin doesn't allow that ;)
I will add such a possibility soon in 1.2.5!
And i will add something extra in 1.3 ;) Look at the pole for options!
http://dev.bukkit.org/server-mods/memorychecker/polls/what-to-add-in-next-version/
-
View User Profile
-
Send Message
Posted May 4, 2013Siema Shaquu
(CraftBukkit 1.5.2-r0.1 Beta)
There is a little problem with Your plugin :) :
mem check
20:20:45 [WARNING] Unexpected exception while parsing console command "mem check" org.bukkit.command.CommandException: Unhandled exception executing command 'mem' in plugin MemoryChecker v1.2.4 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:187) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.dispatchCommand(CraftServer.java:546) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.dispatchServerCommand(CraftServer.java:535) at net.minecraft.server.v1_5_R2.DedicatedServer.am(DedicatedServer.java:265) at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:230) at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:469) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:401) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_5_R2.command.ColouredConsoleSender cannot be cast to org.bukkit.entity.Player at pl.shaquu.eventsguardian.Free.onCommand(Free.java:65) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 8 more
mem
20:21:02 [WARNING] Unexpected exception while parsing console command "mem" org.bukkit.command.CommandException: Unhandled exception executing command 'mem' in plugin MemoryChecker v1.2.4 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:187) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.dispatchCommand(CraftServer.java:546) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.dispatchServerCommand(CraftServer.java:535) at net.minecraft.server.v1_5_R2.DedicatedServer.am(DedicatedServer.java:265) at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:230) at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:469) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:401) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_5_R2.command.ColouredConsoleSender cannot be cast to org.bukkit.entity.Player at pl.shaquu.eventsguardian.Free.onCommand(Free.java:65) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 8 more
-
View User Profile
-
Send Message
Posted Apr 20, 2013@jinglehimersmith
Useless data is objects with no references created by system, server etc. It is useless because nobody need it anymore :) - no programs use it.
Some java codes create objects (etc.) for just one use, then it's stay in Heap and take place without need for it.
-
View User Profile
-
Send Message
Posted Apr 19, 2013What do you mean when you say useless data? Why is it useless
-
View User Profile
-
Send Message
Posted Apr 14, 2013Please enable PluginMetrics on Your servers!! :)
-
View User Profile
-
Send Message
Posted Apr 12, 2013@marszczybrew It's possible ;) More downloads == quicker approve.