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

Fix memory exception when getting tags #136

Open
wants to merge 2 commits into
base: develop-2x
Choose a base branch
from

Conversation

sofasurfer
Copy link

If there are allot of articles the get tags processor fires an memory exception > 500MB.

This can be fixed by getting the ID's directly instead of getting all the article objects.

Would be great if you could add this to the next version.

Copy link
Contributor

@vermaneerajin vermaneerajin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fix will work only for default context i.e. web. There are projects which have multiple context for multiple languages. This must cover all the contexts, Please check.

@sofasurfer
Copy link
Author

Ok i replaced 'web' with $parent->get('context_key') this should work for any context.

@JoshuaLuckers JoshuaLuckers self-assigned this Jul 6, 2019
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

Successfully merging this pull request may close these issues.

3 participants