|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Activ4d used memory in Active4D 5Hello Aparajita
I'm looking to the memory which is used from 4D. (I had a lot of problems in 4D 2004, that to much memory was eating each request). Is there a way to find out, how much memory Active4D uses? Size of current request Collections Size of global Collections Size of total Active4D Memory used And could it be, that Active4D still leaves collection in memory, which are not used And if I do this: $cTest:=new collection $cTest:=new collection .... Is the first collection deleted from memory? The same in global collections? Regards, Oliver _______________________________________________ Active4D-dev mailing list Active4D-dev@... http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/ |
|
|
Active4D 4.5 to 5Hello
I hope it's ok, to write each time, something does work different in Active 4.5 to Active 5. <% writebr(STRING("x"="x";"1;;0")) //A4D 4.5 -> "1" //A4D 5 -> "true" writebr(STRING(num("x"="x");"1;;0")) //A4D 4.5 -> "1" //A4D 5 -> "1" %> Regards, Oliver _______________________________________________ Active4D-dev mailing list Active4D-dev@... http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/ |
|
|
Re: Active4D 4.5 to 5> <%
> writebr(STRING("x"="x";"1;;0")) > //A4D 4.5 -> "1" > //A4D 5 -> "true" > > writebr(STRING(num("x"="x");"1;;0")) > //A4D 4.5 -> "1" > //A4D 5 -> "1" > > %> Please report it on the issue tracker. 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 Active4D-dev@... http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/ |
|
|
Re: Activ4d used memory in Active4D 5> 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 Active4D-dev@... http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/ |
|
|
Re: Activ4d used memory in Active4D 5> And could it be, that Active4D still leaves collection in memory,
> which are not used It is also possible that 4D is leaking. 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 Active4D-dev@... http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/ |
|
|
Active4D v5 crashHello Aparajita
There is another crash in a http-Request. Can you see, where I should search? It would be great, if we could see, in the Active4D.log the last line and include-file Path. So if log_debug_level is switched to debug_extendet, you write each file-Path and each line or line number in the log file. I think in the next time, there will be a lot of crashes, and with this, I and others could help much easier to find out, where the problem is. Regards, Oliver _______________________________________________ Active4D-dev mailing list Active4D-dev@... http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/ |
| Free embeddable forum powered by Nabble | Forum Help |