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
Plugin death? Or will you update it to 1.8?
@MichaelZJL
Whoa, memorychecker is "over"(not fully until Optimise start), but check it out and comment here: http://dev.bukkit.org/bukkit-plugins/optimise
@ShakuF Why your plugin can not work with 1.6.4,the commands:/mem,/memory,/memory restart don't work!
@ShakuF
Thanks for the new link, I read it and laughed! I had a feeling that was what was going on! Cheers
@Izziwizz I think that link should be connected with this one http://dev.bukkit.org/bukkit-plugins/memorychecker/pages/freeding-info-problems/
Your link for more information on dealing with "freeing failed" or "nothing freed" is 403 forbidden. I'm very curious to see more information about it as I am having these issues. If it would be possible to get that information available I would be very ecstatic! :D
@Error998
I think that plugin is usefull but... not very. Unfortunately number of downloads show me that I should not waste time on expanding MemC features. If I find a minute I can add sth like that of course.
@fritzbuild3r
I think you mean that min-ram: 250, wchich is in MemC already. Just put here 5% of your RAM amount
Hi I have a question for you..
I am having issue with memory leaks on 1.7.4 (like most people) and I want to have the capability for the server to reboot itself when memory goes higher than 95% capacity. Would you have any ideas for how this could be accomplished? (programmer here as well).
So far I see a lot of check memory programs, and reboot commands.. but I want to have this automatic so I dont have to be logged in.
Like, every 30 minutes check ram. If > 95% then broadcast to users a reboot will occur in 30 minutes. Then reboot. rinse, lather, repeat. :)
Hi Shakuf, epic plugin!
Hope you can help me. My server host won't let me customize the server startup script but I'm using MCPC+ which gives me access to the "restart" server command. So if I would type restart in the console it will restart my server. As far as I can tell your script just stops the server and the script does the actual restarting of the server. Would it be possible to issue a command like restart when auto restart triggers instead of just stopping the server?
I'm still using MC 1.5.2 and Memory Checker v1.3
If above request is too much effort will you consider making your code publicly available? I'm sure I could patch it to suite my needs.
Thanks Error_998
@MaybeOneDayiCan
1.3.1 and 1.3+ should work
Memory Checker 1.3.1 works with Minecraft 1.6.4 ?
@catprowler
Impossible ;) MemC doesn't touch map or server files etc.,only server memory, but item frames is not placed in memory but in map files im sure.
Hi there, I just noticed that all of my item frames on the server have been completely wiped out. Would Memory Checker by any chance remove them to to free up space? Thank you.
@MURD3RUS
Thanks for this;) I fixed everything
"freeding" should be spelled freeing.
You're missing an "is" in "It just removing..."
You forgot the "e" at the end of "Is it effectiv?"
1.7.2 update! Nothing new here
That would be great. How is optimize coming along?
@goldenflame2
If You care... I can compile version for actual build of CraftBukkit.
I'm working on Optimise plugin now...
Hello ShakuF,
If i may ask? Have there been changes in the memchecker? It doesnt seem to work as before anymore?
Kind regards,
Goldenflame
@Zilacon
You are strange... xD I can make You a special version of plugin with a fake numbers and will You be happy?
Point of using my plugin is speeding up / freeing server sources, NOT to just show an info to admin. You don't see numbers because I prefer more to give You "Nothing freed" then FAKE numbers. I see You don't understand... anything at all.