User avatar
hcpizzi
Site Admin
Posts: 213
Joined: 09 Feb 2012, 12:40

Re: Two Crashes in UE4

12 Apr 2018, 10:51

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.
 
UE4
Posts: 62
Joined: 29 Dec 2017, 06:32

Re: Two Crashes in UE4

12 Apr 2018, 14:43

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

Who is online

Users browsing this forum: No registered users and 2 guests