Scripting - DynamicLoadObject vs UT ram usage

For questions and discussion about UnrealEd, UnrealScript, and other aspects of Unreal Engine design.

Moderators: Semfry, ividyon

Post Reply
jammer64
Skaarj Scout
Skaarj Scout
Posts: 45
Joined: 05 Jan 2010, 02:38

Scripting - DynamicLoadObject vs UT ram usage

Post by jammer64 »

Quick question for coders with best insight into engine - are dynamically loaded objects of any help with working around fixed 2GB memory limit?
yrex
Skaarj Assassin
Skaarj Assassin
Posts: 101
Joined: 07 Oct 2015, 11:19

Re: Scripting - DynamicLoadObject vs UT ram usage

Post by yrex »

Well, you can use it to load assets when needed (as opposed to when the map starts).

You can also free some memory by calling ConsoleCommand("OBJ GARBAGE")
e-mail: ampoyrex at wp dot pl
jammer64
Skaarj Scout
Skaarj Scout
Posts: 45
Joined: 05 Jan 2010, 02:38

Re: Scripting - DynamicLoadObject vs UT ram usage

Post by jammer64 »

So engine's garbage collector doesn't handle it automatically when asset is, for example, not in use for longer time? Does 'obj garbage' introduce any noticeable slowdowns or stuttering (like regular flush does).
yrex
Skaarj Assassin
Skaarj Assassin
Posts: 101
Joined: 07 Oct 2015, 11:19

Re: Scripting - DynamicLoadObject vs UT ram usage

Post by yrex »

I think (not sure) that garbage collection only happens when a map loads.

And yes, it probably will introduce some lag.
e-mail: ampoyrex at wp dot pl
Post Reply