You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I could not reproduce this. Perhaps not enough time was allowed for the GC to do its job? I tested with a MongoDB connection using the same code as yourself for the cli command. For me, it does as is explained, starting from 3 or 4M and rises to between 8 and 10M depending on the machine it was tested on, but then drops back to around 6M once the GC kicks in. Rising and falling until I kill it.
I tested on the following Lithium versions (framework and library versions matched):
1.0.0
1.0.1
1.0.2
1.1.0
1.1.1
I tested all on PHP 5.6.33 with MongoDB 3.4 and a coworker tested 1.0.x versions with PHP 5.3.3 with MongoDB 3.2 and some version of MySQL.
Here is my case:
I wrote a script as a consumer of Message Queue. But I found the memory usage will be increased after called
Model::find()
.e.g.
output:
The text was updated successfully, but these errors were encountered: