Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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.

Product Version: Not Selected
more ▼

asked Jan 28 '15 at 02:28 AM in Using UE4

avatar image

21 2 3 5

avatar image AxSoler Mar 19 '16 at 03:16 PM

I'd also like to kwow, for the same reasons :-(

avatar image AiVeR Apr 12 '17 at 08:45 AM

Same here. It would be great to hear some comments from Epic staff. For example, info about Fortnite development and the way of DataTable's usage in it.

avatar image AxSoler Apr 12 '17 at 10:31 AM

I still don't know, neither... Yes it would be nice some answer from Epic. We want to make a very intensive and real time fast use of previously saved data, and it's crucial to know when they are readed from RAM and when from disk, so we can decide if we need a preload to array or not, just the same as BurnGameVen13 said.

avatar image Stormrage256 Sep 11 '17 at 06:56 AM

I would also like to know about this. Does anyone know if there's a considerable advantage to storing & retrieving the data through class variables, when compared to directly accessing them from the table?

avatar image DaxJericho Apr 29 '18 at 01:02 AM

Bumping this. I don't know C++ well enough to dig into the engine and figure it out, but the answer is important!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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.

more ▼

answered Apr 29 '18 at 09:14 AM

avatar image

37.2k 936 172 1116

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Finally! Thanks!

more ▼

answered Apr 29 '18 at 07:44 PM

avatar image

36 2 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question