Is there a way to find out, how much memory Active4D uses?
Size of current request Collections
Size of global Collections

Not directly. If you create a session with the same items, you can use GET SESSION STATS to see the memory usage for each data type. Then you could write a library method that would calculate the usage for any collection.


Size of total Active4D Memory used

No way I can easily calculate this.


And could it be, that Active4D still leaves collection in memory, which are not used

It's possible, I'm still in beta.


And if I do this:

$cTest:=new collection

$cTest:=new collection
....

Is the first collection deleted from memory? The same in global collections?

With local collections, yes. With global collections, no, you are responsible for deleting them. That's why the documentation for 'new global collection' says:

"Warning: Be sure to store the handle in a place where you can retrieve it later, such
as in the globals collection."

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/

Reply via email to