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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

With and without garbage collector

Hello guys,

I have a quick question for you. Speaking of performance, I want to make a project with and without a garbage collector will be any significant performance increase if I'm not gonna use it? I want to make a game for mobile platforms so that's why I'm asking.


Product Version: UE 4.18
more ▼

asked Feb 28 '18 at 10:44 PM in Using UE4

avatar image

3 1 3

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

1 answer: sort voted first


In small scaling like a mobile game you will not spot any difference, because there will be small amount of garbage collected classes..

In a big scaled game where you use 100000 different actor class and each one will be GC-d well, maybe you spot some difference in performance..

No make sense to disable garbage collection especially in mobile games, because garbage collector helps you a lot in memory usage! Which is critical in mobile games... if you turn off and you forgot to clean up memory manually, your game can easily cause memory leaks and high memory usage... which unacceptable on mobile i think :)

So this is a tradeoff kind thing.. What is better GC using 1-2ms on cpu side sometimes? or risking 1-2gb memory usage on mobile? :)

After all Epic updated a lot in GC code to increase his performance... and runs really smooth

more ▼

answered Mar 01 '18 at 09:40 AM

avatar image

1.5k 15 9 33

(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