Hello Aparajita

I found out, that every time there is a process-variable in the game (if a reference to a collection, or not, it makes memory problems). I eliminated a lot of them in my application, and this helps.
But now I have to do a lot of
global($myPseudoProcessVar) in most methods.

I know, the other solution would be to use the  _request collection.

Isn't it possible, to declare a view variables as global in a special way (in On Execute Start) , so that in any method this variables are global without declare it in the method.

method "On Execute Start"

        global($myPseudoProcessVar ; modeAnywhere)

end method


method "test"

        write($myPseudoProcessVar)

end method


Regards, Oliver

Am 12.10.2009 um 16:14 schrieb Aparajita Fishman:

Hi,

Just so you know, v5.0b3 has many memory leaks, so you can expect memory usage to increase over time. I am in the process of plugging those leaks, I hope to have a new version out later today.

Kind regards,

  Aparajita
  www.aparajitaworld.com

  "If you dare to fail, you are bound to succeed."
  - Sri Chinmoy   |   www.srichinmoy.org

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to