Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (alibaba, vicknick), 1,492 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Script Editor takes a lot of memory! #279180
07/16/09 20:10
07/16/09 20:10
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline OP
Expert
Rei_Ayanami  Offline OP
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Hi!
When I am programmmed my Super Mario Game, SED(it think it is the short form) took more and more mmory, at the it was 1,7 GB!?! Yeah GB not mb or kb! When I closed it and open it new the memory was normal, but when I wrote and tested more and more again the memory get again more frown.

Re: Script Editor takes a lot of memory! [Re: Rei_Ayanami] #279213
07/16/09 21:56
07/16/09 21:56
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Probably you're opening lots of resources??

Re: Script Editor takes a lot of memory! [Re: Cowabanga] #279226
07/16/09 22:43
07/16/09 22:43
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
This seems t be normal, I'm experiencing increasing memory consumption as well, until SED crashes (on my weaker laptop).

According to jcl SED has no memory leak.

Re: Script Editor takes a lot of memory! [Re: FBL] #279276
07/17/09 08:03
07/17/09 08:03
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
In fact there is a memory leak when you run a debug session. Every debug run consumes memory that is allocated by the script compiler and not released. But this does not affect the stability of the program, and does not happen in normal mode.

There were many reports that SED consumes a lot of memory. But we could never find a PC environment where this really happened. I've always asked if this was dependent on the script, and if so, to send that particular script to support so that someone else can reproduce this problem.

But we haven't yet received anything. So this problem is still a phantom.

Anyway, when you think you found a real memory leak, just make a bug report with the usual information:

- Does it happen a) only with your own script, or b) with all scripts?
- If a), strip down your script until the problem disappears. The last removed function then contained the problem - let us know details about it.
- If b), give a detailed description of your PC configuration, the circumstances, and how you measured the memory problem.

Re: Script Editor takes a lot of memory! [Re: jcl] #279282
07/17/09 08:10
07/17/09 08:10
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline OP
Expert
Rei_Ayanami  Offline OP
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
OK, it was just to say, my PC got 3 GB ram so itīs not a so big problem, well yeah I often start in Debug while programming, and my games uses only very many pictures.

cheers,
Rei

Re: Script Editor takes a lot of memory! [Re: Rei_Ayanami] #279311
07/17/09 09:06
07/17/09 09:06
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
VeT Offline
Serious User
VeT  Offline
Serious User

Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
Its known problem... I installed AnVir memory manager, it shows in a tray, how many memory is left, in this way i can pervent crashes smile


1st prize: Lite-C and Newton 2.17 by Vasilenko Vitaliy

Newton2 videos: http://tinyurl.com/NewtonVideos
LiteC+Newton2 discussion: http://tinyurl.com/NewtonWrapperDiscussion
Latest LiteC+Newton2 version(v23, from 29.10.2009): http://depositfiles.com/files/ae1l0tpro
Re: Script Editor takes a lot of memory! [Re: VeT] #279515
07/17/09 21:44
07/17/09 21:44
Joined: Jun 2009
Posts: 43
MCKiller Offline
Newbie
MCKiller  Offline
Newbie

Joined: Jun 2009
Posts: 43
Hi,

I have the same issue here on my old DELL laptop.
1GB RAM
Pentium M with 1,7 GHz
50GB Drive with 50% free space.

When I start the project several times, Windows XP starts doing a lot of action on my harddisc. So I think my 1GB RAM is full and Windows use more and more virtual ram on my disc.

If I restart SED I get no performance boost, so maybe the memory is not freed correctly?

I have to restart my laptop to get back a good working speed.

Re: Script Editor takes a lot of memory! [Re: MCKiller] #279821
07/19/09 13:48
07/19/09 13:48
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
VeT Offline
Serious User
VeT  Offline
Serious User

Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
Really, try to use AnVir Task Manager.
On the other hand, if you said that restarting SED didnt help you...


1st prize: Lite-C and Newton 2.17 by Vasilenko Vitaliy

Newton2 videos: http://tinyurl.com/NewtonVideos
LiteC+Newton2 discussion: http://tinyurl.com/NewtonWrapperDiscussion
Latest LiteC+Newton2 version(v23, from 29.10.2009): http://depositfiles.com/files/ae1l0tpro
Re: Script Editor takes a lot of memory! [Re: VeT] #282284
07/31/09 06:55
07/31/09 06:55
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
In case someone still runs into the same problem: it's apparently solved, the reason was just hitting the wrong button.

If you're used to start the app with F5, make sure that you haven't assigned F5 to starting a debug session. By default, it starts test run. The hotkey assignments can be changed under Options, but in the SED menu the default assignments are displayed, not the current assignments.

Re: Script Editor takes a lot of memory! [Re: jcl] #282293
07/31/09 07:57
07/31/09 07:57
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline OP
Expert
Rei_Ayanami  Offline OP
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Thanks smile


Moderated by  HeelX, rvL_eXile 

Gamestudio download | chip programmers | 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