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
Call the "resolveLinks" method with the "story" parameter passed to it
Call the "resolveRelations" method and add some relations to the client
Call the "getStoryByUuid" method to fetch a story by its UUID
Watch your RAM while the whole process is running
Expected result (*)
The query is made with no issue and the RAM isn't consumed more than it should
Actual result (*)
The RAM decreases until it is completely consumed by the process
The process gets killed
Explanation
The bug seems to have appeared in the commit #adb52f212e5f3ff38457ea4c7781a85f9f99e460 after adding the calls to the enrichStory method in the responseHandler method.
When I put a dump() in the enrichContent method, it parses way more data than when the resolveRelations method isn't called.
The text was updated successfully, but these errors were encountered:
@Axel29 can you give me some more info? which php version, operating system, how many links and relations?
Hello @joaokamun , I'm using PHP 7.4, on Docker (images from Magento Cloud Docker) thus on Linux, and only 2 relations added to the resolveRelations() method.
Hey @Axel29 did you still have the issue with the latest version? After the commit you mentioned we refactored and improved the resolve relation mechanism under the hood.
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
Explanation
The bug seems to have appeared in the commit #adb52f212e5f3ff38457ea4c7781a85f9f99e460 after adding the calls to the
enrichStory
method in theresponseHandler
method.When I put a
dump()
in theenrichContent
method, it parses way more data than when theresolveRelations
method isn't called.The text was updated successfully, but these errors were encountered: