ividyon will never get this done, will he.

Scripting - DynamicLoadObject vs UT ram usage

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

Moderators: ividyon, Semfry, zYnthetic

jammer64
Skaarj Scout Skaarj Scout
Posts: 39
Joined: 05 Jan 2010, 02:38

Subject: Scripting - DynamicLoadObject vs UT ram usage

Post Posted: 29 Oct 2020, 10:56

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 Warrior Skaarj Warrior
Posts: 87
Joined: 07 Oct 2015, 11:19

Subject: Re: Scripting - DynamicLoadObject vs UT ram usage

Post Posted: 29 Oct 2020, 17:45

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: 39
Joined: 05 Jan 2010, 02:38

Subject: Re: Scripting - DynamicLoadObject vs UT ram usage

Post Posted: 29 Oct 2020, 21:26

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 Warrior Skaarj Warrior
Posts: 87
Joined: 07 Oct 2015, 11:19

Subject: Re: Scripting - DynamicLoadObject vs UT ram usage

Post Posted: 30 Oct 2020, 15:51

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


Who is online

Users browsing this forum: No registered users and 4 guests

Copyright © 2001-2020 UnrealSP.org

Powered by phpBB® Forum Software © phpBB Limited