Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Memory exhausted' error after updating to 2.1.4 #354

Open
MakariosVar opened this issue Nov 22, 2024 · 0 comments
Open

'Memory exhausted' error after updating to 2.1.4 #354

MakariosVar opened this issue Nov 22, 2024 · 0 comments

Comments

@MakariosVar
Copy link

MakariosVar commented Nov 22, 2024

What steps will reproduce the problem?

I get a memory exhaust after updating the to 2.1.4.
After some research i can see that "prepareModels" method of the \yii\elasticsearch\ActiveDataProvider is using the 'getPagination'
after following the chain/workflow i ended up again to the starting point. It looks like an recursive error.

What's expected?

With the elastic-search service inactive i was geting an yii error like "Elasticsearch request failed: 7 - Failed to connect to 127.0.0.1 port 9200 after 0 ms: Connection refused" (wich is correct)

What do you get instead?

After updating im getting memory exhaust even if the service is alive and running.

Q A
Yii version 2.0.51
PHP version 7.4
Operating system Ubuntu
@MakariosVar MakariosVar changed the title Memory exhaust after updating to 2.1.4 'Memory exhaust' error after updating to 2.1.4 Nov 22, 2024
@MakariosVar MakariosVar changed the title 'Memory exhaust' error after updating to 2.1.4 'Memory exhausted' error after updating to 2.1.4 Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant