SetInterval consumes fast memory every 3, 4 seconds

Report any Hollywood bugs here
Post Reply
sinisrus
Posts: 347
Joined: Tue Apr 21, 2015 5:43 pm

SetInterval consumes fast memory every 3, 4 seconds

Post by sinisrus »

Hello,

SetInterval consumes fast memory every 3, 4 seconds (see fast memory in titlebar workbench) (i have tested only in winuae os3.9)

It is a bug ?

Code: Select all

/* Nouveau projet Hollywood */

Function p_Move(msg)
EndFunction

SetInterval(1, p_Move, 1000/50) ; 50fps

EscapeQuit(True)

/* Boucle infinie */
Repeat
        WaitEvent
Forever
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: SetInterval consumes fast memory every 3, 4 seconds

Post by airsoftsoftwair »

No, that's not a bug because the memory is released after some seconds. It would be a bug if more and more memory was consumed but that's not the case. Memory is allocated and released. I didn't see any leaks.
Post Reply