When are data tables loaded into RAM?
Are data tables loaded from disk when a handle is made and unloaded when it's broken? Or is there some other arrangement in place? We're deciding whether to access directly from data tables or load into an array on startup and access from that, and we're worried that fetching from disk often, and potentially in the middle of cutscenes will kill our performance.
asked Jan 28 '15 at 02:28 AM in Using UE4
DataTables are assets so as any other asset it is is loaded wither if you load something that reference it or manually with TSoftObjectPtr (http://api.unrealengine.com/INT/API/Runtime/CoreUObject/UObject/TSoftObjectPtr/index.html), once that happens everything stays in memory until nothing is using it (not referenced anywhere anymore) then it's unloaded.
If you circling thru large amount of data even in memory can freeze as you delaying game thread processes by doing so, so you should do that only when user don't notice that.
answered Apr 29 '18 at 09:14 AM
answered Apr 29 '18 at 07:44 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here