Removing ServerPackages from ini won't save any memory. It just forces server to send those packages to clients and that's all. Package isn't loaded automatically after client receives it. Even more, if the engine requires some data from that package, only that data will be loaded, not the entire package.
Interesting, i figured ServerPackages in the ini also told the server what to load. Thank you again for the information.
I'll remove the weapon callings and see if anything changes. At the very least, I will save me a little time adding perks to the servers
As for the server or client only using or loading part of packages, i'm not for certain. It's hard to type and explain, especially since I'm on my phone, but here is an example. Hopefully this makes sense.
The dead space zeds. I use only the zeds in my sandbox. So I place the deadspace in my ServerPackages. Now,whether I add only one zed or all of the dead space zeds in sandbox, the mod seems to load all the zeds and not just the one or two I would use. Because I have tried this to save memory. And it doesn't work. So, i'm not certain if it's the server that is loading all the package or if it's the client, it might be client side the entire package is loading. Because, since I'm right at the 2GB limit, i have tried several things, and when a mod is used, all of it seems to be placed in memory. It may not be server side, it may just be client side. Because when I say I'm hitting the 2GB limit, the server is not crashing. I have done that before, it's not doing that. What happens now is, if I have to much loading up on the server, a map will load, however clients are stuck on the connecting screen. And depending on the map, some maps will work some won't, until I remove a zombie, a weapon or something to free memory. If i keep adding stuff, more and more maps will do the same. The server loads them, but clients are stuck on connecting screen. Coming back to the dead space zeds. When I have hit this issue with maps, i have tried going and removing some of the dead space zeds, just to see if it would help, and it didn't. I got the same results with all the zeds just as if I cut them down to only 2 of the dead space zeds.
However I like all the dead space zeds, do I ended up removing other zeds or weapons :/
so, i'm thinking, that it's the clients engine that is loading everything up and maybe not the server? Because again, I have hit the server limits before.. And you hit the RAM limit, the server crashes. I'm not at that point
I have found the following happens when you get close to the 2GB limit.
First, you start experiencing what I'm getting. The server will load, but clients are unable to connect to a few maps.
2nd,as you add more stuff, more and more maps do as listed above. The server will load them, but clients are unable to connect fully. They get stuck on the connecting screen.
Now, the size of the map as for file size doesn't seem to be a factor. However, how large space wise the map does seem to be, along with how graphically the map is and such. But not always... I still haven't pinned this one. Because for instance. A small map like No Mercy 3 will not allow clients to fully connect, before a map like Mountain Pass... They are close, but No Mercy will fail to connect before Mountain Pass.
Ok, if you continue adding stuff, and you can find certain maps that will keep allowing clients to connect as you add more stuff, you will eventually hit the server lock up on the first map switch and If you add a few more things, maybe around 10MB or maybe less, you will get the server memory crash on first starting the server.
Now something interesting. I have found that you can load quite a bit more zeds and weapons and such, the first boot up of the server. Meaning, everything will load and the first map and will play no problem. It's when the next map loads, you run into the issue of clients setting and connecting and are unable to connect, or if you are pushing the server 2GB limit, the server will crash. So, it's like, the server or client one, isn't letting go of everything or dumping the memory in RAM before connecting to the next map.
Just some stuff I have taken note while trying to figure out how to increase the memory or add more stuff to the server.
would be nice of TWI would set and allow LAA. Would give another 1.5GB to 2GB to play with.
but, back to the dead space mod. It's not just that mod. It's any mod packed like that. I'm extremely happy that WPC separated the aliens in the aliens mod. That allowed me to use the aliens with out removing anything. Just for another example. I can do the aliens the same way as the dead space zeds. It doesn't matter if I only use one or all of them in sandbox, as long as the package loads, they all load into memory it seems, or well, I'm starting to think it's client side... Or maybe it's server side, and the server holds clients in the connecting screen, because the server doesn't have the game memory to allow the connections... Now, weapon packages may work different than zed packages. But, I'm thinking they are the same. Because like the half life weapons. I have that package attached with the sentry tech. Well, my server is at its max however, I was able to add the pulse rifle from the half package to the sentry tech,. And it didn't affect the server at all. Maps are still loading no problem. Meaning the gun was already loading before, even though it wasn't being used. Because the half life package was being loaded. I say that because. I was tried adding another weapon to another perk, and i ran into the client stuck in connection screen problem on certain maps. I then removed the weapon, and tried adding another zed, and ran into the same issue. Then I figured, what the heck, i'll try one of the half life weapons I haven't used, and it worked, with no issues.
Not saying your wrong on the package only loading what is needed, just saying it seems some packages are loading stuff into memory even when the weapons or zeds are not in use.
One thing I've been trying to figure out. Is how to get map changes in the same memory state as when the server loads to the first map. Because that would open up about 50MB of data or maybe a little more, that one could use for more stuff, of for a buffer per say. Buffer meaning, between a crash and no crash.