-
Notifications
You must be signed in to change notification settings - Fork 78
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
Diff two JSON files #84
Comments
If you have a difference between the 2 files, then there's a bug in phpMeminfo or a bug in the Zen engine. When you cal And as phpMeminfo is built to provide information on memory leak, that is items that have still reference so they cannot be cleaned up from memory, it doesn't make much sense to list items that will be collected and cleanup automatically by the Zend engine. So there should not be any difference between the two files. |
Maybe if you tell me what you want to know exactly, we could find a real solution for you case ? |
Yeah so I've learned since opening this issue.
To find a memory leak I want to see the differences between two or more files. See the exact differences and what items are new or removed between files. |
Hey @WyriHaximus , Thanks for your answer! When I need to do that, I usually used the As we are using JSON files, maybe you can try some generic JSON tools, like It's capable of diffing two different json files. Don't hesitate to share your experience with it, it may help others, and we could add a section in the documentation about it, if it's worth it. |
That is a good one. Haven't thought of that 👍 , will give it a try and report back |
Attempting to hunt down a memory leak using the following code:
Now I can't easily compare those two files. A diff command would be a great addition to see what has changed.
The text was updated successfully, but these errors were encountered: