With and without garbage collector
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.
asked Feb 28 '18 at 10:44 PM in Using UE4
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
answered Mar 01 '18 at 09:40 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here