Page 2 of 2

Re: Two Crashes in UE4

Posted: 12 Apr 2018, 10:51
by hcpizzi
I'll investigate this. As the documentation states, when a struct is used as a property, it's treated as a value object in the C# sense. So, when we create the wrapper around it, a copy is made. That's unlike UObject derived classes, where we just keep a reference. However, memory should be proportional to the number of elements in the array, and not grow indefinitely.

I'll report back once I figure out what the problem is.

Re: Two Crashes in UE4

Posted: 12 Apr 2018, 14:43
by UE4
I'll investigate this. As the documentation states, when a struct is used as a property, it's treated as a value object in the C# sense. So, when we create the wrapper around it, a copy is made. That's unlike UObject derived classes, where we just keep a reference. However, memory should be proportional to the number of elements in the array, and not grow indefinitely.

I'll report back once I figure out what the problem is.
the ram increased maybe caused by the error log, in another thread