Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Dedicated server memory leak when changing map

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.

My question: 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.

Thanks! :)

Product Version: UE 4.12
more ▼

asked Aug 08 '16 at 09:18 PM in Packaging & Deployment

avatar image

6 2 6

avatar image Moynzy Aug 09 '16 at 08:40 AM

Hi. So when you do open level/ open map, I believe it doesn't destroy the game controllers that have been made?

The reset game method works well, it is basically open "mapname".

I would try and make a method where you just reset variables, positions, etc, instead of trying to open the map/ level.

avatar image narvalouspeter Aug 09 '16 at 04:52 PM

Ok, thanks! That should be doable for us.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hey narvalouspeter,

Thank you for the bug report. I was able to reproduce the issue and have logged it. You can track the progress of the issue here: https://issues.unrealengine.com/issue/UE-34423

more ▼

answered Aug 09 '16 at 04:09 PM

avatar image

ImVawx ♦♦ STAFF
6.8k 114 18 128

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question