Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Java out of memory exceptions

至死不渝
Joined
Dec 31, 2008
Messages
454
Reaction score
33
Been getting this quite a lot after switching to my VPS which has 8gb of guaranteed ram. This usually occurs after around 8 hours of uptime or so. For some reason I never had this problem with my own personal host computer which has only 6gb of RAM.

Anyway back to the problem, I have looked around ragezone as well as googled up a bit and apparently what I am supposed to do now is to modify the maximum as well as minimum java heap size. I know how to do that but I have no idea what is an ideal value for the maximum as well as minimum so any help on what values i should use is appreciated.
 
Custom Title Activated
Member
Joined
Mar 6, 2012
Messages
1,503
Reaction score
213
1024 heap size is 1 gb ram I believe so if its a 8 gb ram VPS
Do 1024x4
So put heap size at 4096
 
Upvote 0
至死不渝
Joined
Dec 31, 2008
Messages
454
Reaction score
33
Thanks. I will try that. Do I put the same for both maximum as well as minimum?
 
Upvote 0
Back
Top