I'm trying to deploy a Linux container to PlayFab which is failing with "TooManyServerRestarts". My current guess is that the game server is either too big, or asking for more memory than is allowed (image size is 4.8gb and the executable requires 16gb of ram). I've found that docker can limit the VM memory to 2gb?
Also, I understand Windows servers have a 2gb size limit. But is this true for linux containers as well? I was able to push the entire image to azure.
Important information:
- I've tested the container locally and it works (when I give the container 20gb of memory).
- I've deployed the "same" server before, without the massive level, which accounted for a "lightweight" 700mb size and a few mb of ram to run, and it worked fine on PlayFab.
- There is no way to make the server considerably smaller as it consists of a very big level with lots of assets.