I’m using Unreal 4.12.2, built from source, for my project. The project is a Blueprint project.
We are running a game that has a dedicated server executable running on our server. In order to reset the map where players connect to and play, the server executes console command
open the_map to re-open the map and restore itself to the original state. It does this every 3 minutes.
However, I have noticed that doing so causes the RAM usage to grow very fast. I’ve seen it go over 4 GB, and I believe Windows has closed it for this reason.
Is there a better way to revert the map state to scratch? Should I be using the
open level blueprint node instead of
execute console command?
In the future, the server will be making a REST call when it first opens, so I would prefer a solution that allows this to be run, but if it is not possible, I’m amenable to other solutions to.