Description

Editor memory leak occurs when Actor's String Variable contains Characters(Char) close to/exceeding a million bytes

Steps to Reproduce

Project Attached as MemoryLeak.Zip for Convenience

  1. Create a blank new Blueprint Project in Unreal Engine 4.21
  2. Create an Actor Blueprint named "Bp_Actor"
  3. Add a String Variable to the Actor "MyString", and check it as Visible and Instance Editable.
  4. Open up Windows Task Manager and observe the processes of the current Unreal Project.
  5. Copy a big String Value into the String's Textbox "Char1234Char1234Char1234Char1234"
  6. Continue to keep copying this value and note the increase in memory usage.

 

Note: Memory continues to climb when the String's editable text box is visible, If you do not have dual screen monitors, the behavior should be observable if you minimize your window placement. (having a visual on task manager, but making sure the project/editor is the current mouse space of your cursor)

Result: Memory will grow until editor crashes.

Expected: Warning or fail safe to prevent string overflow.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-67747 in the post.

1
Login to Vote

Fixed
ComponentTools
Affects Versions4.204.214.22
Target Fix4.22
Fix Commit4688522
Main Commit4837001
Release Commit4862694
CreatedDec 19, 2018
ResolvedJan 8, 2019
UpdatedFeb 12, 2019
View Jira Issue