I mean how they both can give different results.
Also http://explique.me/Ijson/
article has used 12MB file to parse using memory_profiler stats chech and getting 78MB but why I am getting 12 MB only in memory profiler?
Which one is correct?
Please let me know, if any questions.
I am using memory_profiler to check json parse usage, along with valgrind tool also to check the same. But I am getting different results
Line # Mem usage Increment Occurences Line Contents
Using Valgrind
MEMORY USAGE: marshal: 73.8 Mb cbor: 75.6 Mb msgpack: 75.8 Mb pickle: 76.3 Mb json: 78.9 Mb jsonlib: 92.0 Mb ujson: 92.1 Mb rapidjson: 100.1 Mb
I am using a json file of 12MB to parse.
I mean how they both can give different results. Also http://explique.me/Ijson/ article has used 12MB file to parse using memory_profiler stats chech and getting 78MB but why I am getting 12 MB only in memory profiler? Which one is correct? Please let me know, if any questions.