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
@ShakuF
If i do not see an effect in numbers what is the point of having your plugin installed?
Your plugin is made to free up memory, yet it doesn't even have a working scheduler i have it set to 5 minutes and it never turns on when i do turn it on manually it doesn't do anything.
I can have my server using 4.3 GB of ram with 3000 chunks loaded and your plugin wont save 1KB from that.
@Zilacon
Freeing up memory is not completly visible process. This mean it still work while You do not see effect in numbers.
@ShakuF
You got to fix your plugin dude, i got it running on 6 servers and it is not freeing up any memory at all.
It used to work great but your recent releases broke it somehow.
Everytime i do /mem it says failed to free up memory, and i can confirm this by looking at the memory used from my operating systems process manager. This plugin is not even reducing the memory by 1KB.
@crunkazcanbe
Thanks in advance! :)
Unfortunately You are right... It is not many people that use MC plugin... Ehh...
But I am very happy when I read feedback like Your :)
The most important plugin i have also helps lag for me better then any lag plugin out there . Most useful plugin i have . With around 250 people on there's noticeable lag but with this there's hardly any now if any at all . I'm sure I could go over 300 people now if i wanted to .
Before this plugin I was leaking about a gig of ram every 12 hours or so but to be expected with 112 plugins installed but now well lets just say on average I'm using anywhere from 1 to 1.5gigs of ram less now with this simple but brilliant plugin . I can not believe more people are not using this plugin . I have way to many plugins to go threw to find the memory leak this does the trick just fine although I have an idea as to which plugin has the biggest memory leak and I think that would be Dynmap .
@ShakuF love the plugin will be donating a few bucks soon most defiantly as soon as I start selling ranks on my server don't even have that set up yet its free for now . :-)
@ShakuF
That'd be great of you, thank you! I've also left a comment/suggestion on your new plugin. ^.^
@sakura_blades
There are no more commands etc. It's just bad info... I will fix that!
By the way... I'm creating new plugin to handle server optimization and status is here on DEV.BUKKIT.
There aren't any other commands to this plugin? No other permissions, nothing hidden?
Cause I'm trying a few unlisted commands, and instead of getting "unknown command" I'm getting "You do not have permission".. I'm OP, how do I not have permissions to something on my server? And since it is not a "unknown command" it leads me to believe there is something there, that I cannot access for whatever reason...
The listed commands work fine.. Except perhaps that the /mem over-rides my Essentials data, but that's not an issue, it has multiple options to pull it up...
This plugin has no help menu? And why do "unlisted commands" come up with "No Permissions" instead of "Unknown Command". This makes me very uncomfortable...
@Wizardo367
Nou?:) It's not that easy to show what it is cleaning.
@FabioZumbi12
Of course! Thank You for opinion :)
Hello... Good plugin, i using but i having a issue: When i do /mem reload, the plugin always reloads whit default options. To solve, i stop the server and change the configs before start the server. The strings still changed, but the option "auto-restart" always go back to true! I already have a reloader plugin and i dont need the reload from this plugin! You cab fix this on next release? (or on the next rewrite)
Thanks!!
Hmm this seems cool and it's evident from the comments that it's working for some people, by any chance could you make a developer version of this to show where the leaks are occurring?
@goldenflame2
Okay ;) Thanks for feedback! I think I can "fix" it...
In next version it is coming Panel(with RAM-CPU-Players-TPS graph/s) and better freeing algorithm!
@ShakuF
Yea, it is excelent! I am now running it for a week allmost, i can see it working! It even fixed the 1.6.2 memory leak, didnt expect that to happen. Realy good job there. Also it works well with Multiverse that im running (just saying)! And i hope more people wil discover the power of your plugin.
As for your question, my server runs on a VPS, my memory is scaled by my usage. So lets say, my server uses 800MB at the moment, the server wil give me 1400MB. But if someone travels to multiple worlds, and the usage of the memory goes up to 1300MB, it wil triger the restart, before it wil expand the memory of my VPS to 2000MB.
I think that is what happens, it could be that i'm wrong though. I just leave the auto-restart off for the moment. And quite frankly, i don't seem to need it, becuase the plugin is doing a great job.
@goldenflame2 Thanks for using my plugin ;)
Unfortunately many people doesn't believe in power of MemoryChecker...
Could You explain this more literally? "The only downside is that it doesnt see my exact memory (auto scaled, but i cant expect it to), and thus had to disable auto-shutdown."
@Disconsented Juzt like in a FAQ.
It just removing useless parts of data in memory.
My plugin beg JAVA to do it ;)
Hi there,
I installed the plugin yesterday, and so far it works better then expected! I have a bukkit server with 19 plugins (yours not included), it went from 40% memory usage on idle, and 70% on load to a stable 25%! And the memory leak i had since 1.6.2 hasnt popped up yet.
I wil continue the use of this plugin, and post a new message after a week of use. So far it looks to good to be true, but it works like a charm!
The only downside is that it doesnt see my exact memory (auto scaled, but i cant expect it to), and thus had to disable auto-shutdown.
Kind regards,
Gold
Can I get a brief explanation of how this works? It seems to good to be true.
@freeman010
I'm realy happy because of that :)
This plugin is amazing. I run a vanilla minecraft server and ever since upgrading to 1.6.x I've had problems with cpu and ram consumption. Over the course of a few hours, RAM usage would climb all the way to 100% and then every player would experience heavy lag.
Ever since installing this, memory usage has remained at around 40%. We haven't had to restart in days. Thanks so much for the useful plugin!
1.3 is available for download!!
Memory Checker 1.3. is ready! But not for download ;) Waiting for Dev. Stuff.
PS. Hope nobody tell me that sth is not working...