Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (Ayumi, NewbieZorro, TipmyPip), 13,887 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How can I purge map entities from memory? #13285
08/16/03 11:11
08/16/03 11:11
Joined: Jan 2002
Posts: 644
USA
tesanders Offline OP
Developer
tesanders  Offline OP
Developer

Joined: Jan 2002
Posts: 644
USA
I'm cycling through a number of map entities in a 'preview' window via ent_morph(), and have noticed that, as each is loaded, it seems to be retained in system memory. As a result, after I cycle through a few dozen, I get a 'nexus too small' error.

Calling ent_purge() before the ent_morph() doesn't seem to prevent this, (reading up on it, it just removes textures from video memory). Is there a way to remove the model from system memory?

Cheers,
Thomas

Re: How can I purge map entities from memory? #13286
08/17/03 06:31
08/17/03 06:31
Joined: Dec 2002
Posts: 293
Minnesota
Peter Churness Offline
Member
Peter Churness  Offline
Member

Joined: Dec 2002
Posts: 293
Minnesota
Wow. This is totally weird. I was just today having the exact same problem as a result of doing the exact same thing you are doing. In my case I was using ent_morph to toggle through sky models (and I also tried the ent_purge / ent_create method resulting in the "nexus too small" error. FYI: I changed the nexus value in WED and it didn't help.

Can anyone help us here??

Re: How can I purge map entities from memory? #13287
08/18/03 00:50
08/18/03 00:50
Joined: Nov 2002
Posts: 792
Berne, Switzerland
elsewood Offline
User
elsewood  Offline
User

Joined: Nov 2002
Posts: 792
Berne, Switzerland
I would say that's an engine bug! Post it under engine bug.
Meanwhile you could do an ent_remove, ent_create instead of the ent_morph (hope that that works and does not produce the same error...)


A bus station is where the bus stops. A train station is where the train stops.
On my desk I have a workstation...
Re: How can I purge map entities from memory? #13288
08/20/03 23:13
08/20/03 23:13
Joined: Dec 2002
Posts: 293
Minnesota
Peter Churness Offline
Member
Peter Churness  Offline
Member

Joined: Dec 2002
Posts: 293
Minnesota
FYI:

I changed the nexus value in the engine command line using this syntax:
-NX 80
...and that did the trick. I'm now able to cycle through all 28 sky models I have, but it ends up taking up a large amount of virtual memory (which is what the command line above does - tells the engine to reserve 80 meg of virtual memory on the hard drive).

Does anyone know how to clear the virtual memory??

Re: How can I purge map entities from memory? #13289
08/20/03 23:41
08/20/03 23:41
Joined: Jan 2002
Posts: 644
USA
tesanders Offline OP
Developer
tesanders  Offline OP
Developer

Joined: Jan 2002
Posts: 644
USA
quote:
I would say that's an engine bug! Post it under engine bug.
I'm actually trying to figure out if it's a bug, or if it's a bona-fide feature -- is 3DGS just being nice and caching these things after first-load?

-t

Re: How can I purge map entities from memory? #13290
08/21/03 00:15
08/21/03 00:15
Joined: Dec 2002
Posts: 293
Minnesota
Peter Churness Offline
Member
Peter Churness  Offline
Member

Joined: Dec 2002
Posts: 293
Minnesota
See JCL's comments here


Moderated by  HeelX, Spirit 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1