Description

Not providing default values for macros can cause memory leaks

Steps to Reproduce
  1. Download the attached project
  2. Open project
  3. Open task manager
  4. Find the project in processes
  5. Press play In Editor
  6. Make note of the amount of memory being used over a few seconds
  7. Stop Pie
  8. Open "LeakyActor"
  9. Hook up the output for the right most macro to the set variable (so that it's printing the result of all the macros)
  10. PIE again
  11. Notice that the memory usage is much higher than before
  12. Stop PIE
  13. Place default values in the macros
  14. PIE again
  15. Notice that the rate of memory used has gone back to what it was

Expected: The memory usage would not be going up so drastically
Result: The memory usage is much higher with the macros without defaults

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Cannot Reproduce
ComponentUE - Gameplay - Blueprint
Affects Versions4.12
Target Fix4.13
Fix Commit3073939
Main Commit3080751
CreatedMay 26, 2016
ResolvedAug 2, 2016
UpdatedApr 27, 2018