2 registered members (Akow, tomaslolo),
1,536
guests, and 12
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Operative memory again [solved]
#280565
07/23/09 11:46
07/23/09 11:46
|
Joined: Aug 2004
Posts: 1,345 Kyiv, Ukraine
VeT
OP
Serious User
|
OP
Serious User
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
|
Jcl, please, do something... While project wasnt so large, i just rebooted SED one or two times per some hours Now project is lot bigger and Task Manager says: SED, just launched - 21 Mb SED, application launched for the first time - 207 Mb SED, application is closed - 159 Mb
SED, application launched for the second time - 327 Mb SED, application is closed - 281 Mb
and so on, so i must reboot SED every 5-10 minutes.. its impossible to work now...
In addition, i dont know, why application eats so many memory: i almost didnt add new models, just works on gameplay... what can you advice?
Last edited by VeT; 07/30/09 17:28.
|
|
|
Re: Operative memory again
[Re: VeT]
#280574
07/23/09 12:16
07/23/09 12:16
|
Joined: Feb 2008
Posts: 3,232 Australia
EvilSOB
Expert
|
Expert
Joined: Feb 2008
Posts: 3,232
Australia
|
Does your project use any plugin dll's that maybe arent being "closed" by your project?
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial
|
|
|
Re: Operative memory again
[Re: TechMuc]
#280614
07/23/09 14:49
07/23/09 14:49
|
Joined: Jul 2008
Posts: 894
TechMuc
User
|
User
Joined: Jul 2008
Posts: 894
|
just my own frightning memory-checking results.. NORMAL project start/restarts
no start: 12.760 MB
1: Start (running): 205
2: Close Engine : 143 (!!!)
3: Start (running): 316
4: Close Engine : 255
Project with replaced main function. no startup function existend
no start: 12.754 MB
1: Start (running): 154
2: Close Engine : 138
3: Run again : 265
4: Close again : 249
EMPTY Project (just include acknex.h / default.c)
no start: 12 MB
1: Run Engine: 45 MB
2: Close Engine: 29 MB
3: Run Engine: 58 MB
4: Close Engine: 39 MB
5: Run Engine 65 MB
5: Close Engine: 49 MB
==> Even with an empty project (#include <acknex.h>\n#include<default.c> i also expierence a memory-increase of 10 MB per run. ha gladfully I'm working with mvc++
|
|
|
Re: Operative memory again
[Re: EvilSOB]
#280869
07/24/09 13:27
07/24/09 13:27
|
Joined: Aug 2004
Posts: 1,345 Kyiv, Ukraine
VeT
OP
Serious User
|
OP
Serious User
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
|
Does your project use any plugin dll's that maybe arent being "closed" by your project? Anyway, what is the correct method of closing DLL's ?
|
|
|
Re: Operative memory again
[Re: TechMuc]
#280873
07/24/09 13:39
07/24/09 13:39
|
Joined: Aug 2004
Posts: 1,345 Kyiv, Ukraine
VeT
OP
Serious User
|
OP
Serious User
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
|
function main() { sys_exit(""); return 0; }
replace your main function with this code, and check the memory usage of SED :-) BTW, i have only one "_startup" function for debug reasons... so why that code loads so many memory? In a sum, i have 164 Kb of code.
|
|
|
|