Gamestudio Links
Zorro Links
Newest Posts
Zorro version 3.0 prerelease!
by Grant. 02/24/26 22:21
WFO Training with parallel cores Zorro64
by Martin_HH. 02/24/26 19:51
ZorroGPT
by TipmyPip. 02/23/26 21:52
Camera always moves upwards?
by clonman. 02/21/26 09:29
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (TipmyPip, Quad), 6,365 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
alx, ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon
19199 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
remove entity and memory #347892
11/20/10 20:38
11/20/10 20:38
Joined: Jan 2010
Posts: 150
iran - tehran
F
flatron Offline OP
Member
flatron  Offline OP
Member
F

Joined: Jan 2010
Posts: 150
iran - tehran
HI
i have a code that user can view some image or entity and select on of them.
my problem is when i use ent_remove for creating another ent , memory is grow and after some create and remove , memory usage go up to 2 GB.
is there any way that i create an entity and when i remove it memory usage go back before creating that entity?
who can i free it's memory?
thankx


Last edited by flatron; 11/20/10 20:39.
Re: remove entity and memory [Re: flatron] #347893
11/20/10 20:48
11/20/10 20:48
Joined: Dec 2008
Posts: 271
Saturnus Offline
Member
Saturnus  Offline
Member

Joined: Dec 2008
Posts: 271
This function should do the trick:
http://www.conitec.net/beta/aent_purge.htm

Re: remove entity and memory [Re: Saturnus] #347895
11/20/10 21:04
11/20/10 21:04
Joined: Jan 2010
Posts: 150
iran - tehran
F
flatron Offline OP
Member
flatron  Offline OP
Member
F

Joined: Jan 2010
Posts: 150
iran - tehran
thankyou.i try it.

Re: remove entity and memory [Re: flatron] #348260
11/24/10 15:30
11/24/10 15:30
Joined: Jan 2010
Posts: 150
iran - tehran
F
flatron Offline OP
Member
flatron  Offline OP
Member
F

Joined: Jan 2010
Posts: 150
iran - tehran
thank you. it work but nexus is grow
what can i do for it?


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