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
{{ message }}
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.
I can't really see the memory leak, i assume that PHP's garbage collector will clear data after the echo call, at the end of the processus / function.
So if you don't clear data after each iteration (eg. unset($person) or $person = null) you ain't gonna see anything :) Keep in mind that garbage collector looks for object to unset at the end of each function.
Nevertheless, for testing purpose, i suggest to create a bash file which call your php script, and in order to check the memory usage, you can use some system command to mesure it, before and after your script execution :)
Hope this help
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello.
I have a memory leak in my application. If I comment out code related to the neo4j-php-ogm mapper, the leak goes away.
I created a test application as described in this tutorial.
When I run this code with empty database:
I get this output:
Can I somehow fix that memory leak?
The text was updated successfully, but these errors were encountered: