About memory garbage

Yep, it is not a question really.
Engine is cool, nice graphics, nice perfomance, blueprints etc. But one DA-AM HUGE problem is uncollected garbadge! That’s not nice! Let’s take a MK10, what is just released. After 2,5 hours I’d got a third message that my RAM is too low. And then i closed game to avoid system crash. I have 12 GB RAM. Usually free memory is about 80%, but MK eated thouse 80% fully. Garbage is not being collected! It is happening not only in MK, it is also appears in my little game. Used RAM on start is 450 MB. After 15 minutes of replaying my game it number grows up to 1,500 MB (!!!) How the?.. How to deal with it? Do you even know that it is happening? Maybe me and MK creators are forget something, because we both used C++? Is there any manual/documentation about garbadge? If you want i can send you my little game (it’s size is about 50 MB), so you can see this bug/mistake on your own.

Hey HungryDoodles,

You are not alone in your concerns, we have a few other users reporting this issue and we are having a lot of trouble reproducing it in house. Can you send me your dxdiag info? I’d also like to get a MemReport from you.

If your memory gets out of control again, let it grow as high as you feel comfortable with. Then bring up the console with ~ and enter memreport -full. Rename the extentions on the .memreport file to .txt in the [ProjectName]/saved/Profiling/MemReports and then attach it here.

After that, I might look into having you send in your project.

Thanks,

.

I had let memory grow from 450 MB to 860MB. Fastest way to do it is to spam bullets (spawn with delay 0.03 sec). Grow speed in that case is about 3-4MB/sec. Bullets are actually blueprints, not C++ classes. PlayerPawn is handmade C++ class.
Txt’s, there they are.
dxDiag,
memreport before
OMG. Second memreport size is greater than 100 KB… Hm-m… Well, there is no other way but split it:
part 1
part 2
And size of the project is… ouch… 2,5 GB… Total content size is only about 50 MB.
And sorry for informal and a bit rude post, just had system almost died… panic :slight_smile:

Hey HungryDoodles,

I understand it can be frustrating. :confused:

I have added this info to our bug report(UE-12941).

-.