Hey! For about a week i've been working on hosting a non-dedicated server (the one from the main menu). My problem is that i have choosen lots of mods of any kind (~400) and despite all of my work, i cannot get it to start without crashing. I've made sure to pick only non-broken mods, that are compatible with my other ones and put in the order the creators asked. Despite that, whenever i set up any server with them, it loads in about 7-8 minutes on my pretty decent PC with 32 GBs of RAM. After i set my spawn point and create my character, when the text with "this is how you died" appears, the game freezes at "recieved 100% of radio data" being unable to proceed after. I think i've narrowed it down to not enough RAM but in the hosting menu i already choose 16 GBs as well as in the .ini files where i've maxed out my Xmx parametre to 16GB. Can i go any higher than 16? I have to mention that in the past, about 1 year ago, i was able to do this feat pretty easely, since i had similar mods but in a higher count (~600) and it ran without any problem. I also tried to play SP with all the mods enabled and ordered correctly and while i do not get the radio data error, my game just crashes at "click to play". Thank you all in anticipation!
#How to allocate more than 16 GBs pf RAM to the server and game?
10 messages · Page 1 of 1 (latest)
Just to understand, you allocated 16gb to your XMX and then you also allocated 16gb to the server?
That would mean you allocated all of your 32gb to the game + server, which is not good, as you basically reserved all of the system memory
What i did was to choose in the hosting menu to have the max 16 gb of ram as well as in the projectzomboid64.ini or whatever it's called in the main game folder
Altough, in the task manager, project zomboid seldomly uses more than 8-9 gbs while loading the beforementioned server
Yeah, that is not good. I would recommend a max of 8gb on the server, you do not want all your system RAM to be used by the game
Is there such a thing as too much RAM allocated to the game? I've read on some forums that some PZ servers run worse the more RAM you feed them. Also, any idea on why the game would crash at this "recieved 100% of radio data" or what it actually means?
Yes there is, usually with too much client RAM you would have stronger stuters, due to larger amounts of heap being cleaned during the GC
Additionally, if you take all of the system RAM, the system wont be able to use any of it
Which can cause all sorts of problems, since the system basically has 0 RAM at that point and has to use SWAP
Your issue may be related to a mod problem, not a RAM problem