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
@ZhukV would you please try to reproduce this without any external code, preferably sending us a PR with a functional test case? That would amazing and help us in solving this issue 👍
Bug Report
Summary
Memory leak only on
AbstractQuery::HYDRATE_SINGLE_SCALAR
.Current behavior
If we use
AbstractQuery::HYDRATE_SINGLE_SCALAR
we have a memory leak in application. But if we use other hydrations, then all OK.How to reproduce
Code snippet for reproduce:
Expected behavior
If we use the
HYDRATE_SCALAR
, then all OK. Memory is not leak. Sample output:But, if you change the
$hydrationMode
toHYDRATE_SINGLE_SCALAR
we have a memory leak. Output:But, this situations have other difficulties:
->andWhere('t.externalId = '.\random_int(0, PHP_INT_MAX))
application is failed with memory leak.Note:
The text was updated successfully, but these errors were encountered: