1 registered members (TipmyPip),
18,574
guests, and 6
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Operative memory again
[Re: VeT]
#280878
07/24/09 14:03
07/24/09 14:03
|
Joined: Feb 2008
Posts: 3,232 Australia
EvilSOB
Expert
|
Expert
Joined: Feb 2008
Posts: 3,232
Australia
|
Its up to the dll, like your newton doesnt like the engine closing with the newton dynamics still active.
That sort of thing...
But I think that idea is ruled-out by Techmuch's tests. They look pretty damning for SED...
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial
|
|
|
Re: Operative memory again
[Re: bart_the_13th]
#282130
07/30/09 13:17
07/30/09 13:17
|
Joined: Aug 2004
Posts: 1,345 Kyiv, Ukraine
VeT
OP
Serious User
|
OP
Serious User
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
|
Okay, i created new folder, added new empty file test.c, add there
///////////////////////////////
#include <acknex.h>
#include <default.c>
///////////////////////////////
function main()
{
vec_set(screen_size,vector(800,400,0));
vec_set(screen_color,vector(50,1,1)); // dark blue
vec_set(sky_color,vector(50,1,1)); // dark blue
video_window(NULL,NULL,0,"My New Game");
d3d_antialias = 1;
shadow_stencil = 3;
level_load(NULL);
vec_set(camera.x,vector(-250,0,50));
vec_set(camera.pan,vector(0,-15,0));
}
1) AnVir shows that SED eats 20.5 Mb (sorry, i dont have more proffesional tool  ) I press "Run current script" button, now SED is 20.7 Mb Close game window: 20.7 Close SED and launch again : 20.1 MB (???) Hm... okay, now i add test.c to Main Script and press Test Run, 22.3 Mb (what???) Close window, now its still 22.3 (even i dont expect this) Reboot SED: 20.1 (heh, thats good) Debug Run: 44 Mb (wtf ?!?!) Close Engine: 36.4 Mb Debug run again: 53Mb Close Engine: 45 Mb 2) Lets look deeply Reboot Sed: 20.1 Mb Run Current Script: 20.2 (i'm really happy that you add this button  ) Close window: 20.2 Mb Run Current Script: 20.2 Mb Close engine: 20.2 Mb *** Yep, "Run Current Script" creates new acknex.exe and dont disturb SED.exe - thats real  Reboot: 20.1 Mb Test run: SED.exe - 20.3 Mb, acknex.exe - 26 Mb Close acknex: SED.exe - 20.3Mb Test run: SED.exe - 20.3 Mb, acknex.exe - 26 Mb Close acknex: SED.exe - 20.3Mb *** Looking like stable: SED.exe didn't eat more memory, but what was that on the first launch? I think that debug is no need to test as you said that its known leak Hey, i got new idea: sometimes, when i perss F5 after placing some breakpoints, i run Debug mode, and sometimes test mode... Can you check that? In addition with the "engine runs before scripts save" problem? Edit: if only i would get this, i'd think that AnVir dont work properly or something like that... but it happens not only to me..
|
|
|
Re: Operative memory again
[Re: bart_the_13th]
#282131
07/30/09 13:19
07/30/09 13:19
|
Joined: Aug 2004
Posts: 1,345 Kyiv, Ukraine
VeT
OP
Serious User
|
OP
Serious User
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
|
The solusion is just simple, I quit SED then restart it again... Exactly, but now, as you have not too large project, you are need to restart SED one time per some hours, and while your project would be large enough, you'd be needed to restart it every 5-10 minutes... I hope, we'll find, where is the problem and Jcl would fix it.
|
|
|
Re: Operative memory again
[Re: VeT]
#282145
07/30/09 14:30
07/30/09 14:30
|
Joined: Aug 2004
Posts: 1,345 Kyiv, Ukraine
VeT
OP
Serious User
|
OP
Serious User
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
|
Yes.. Test Run is F5 (as it is said in menu in SED) When i press Test Run button, all works fine (ist acknex.exe created and the size of SED.exe is stable), but when i press F5 key, Debug Run is activated and SED begin to eat too many memory without releasing... I think you can fix this easily 
|
|
|
|