my company use tinyxml as xml parser, but sometimes memory leak happens,so I check the code, and found that when pushing 1000 qps with 20 threads, just a simple TiXmlDocument::Parse() fuction will result in memory jump in less than 3 hour. I am sure tinyxml is thread safe, but the fact is that it is not . Maybe it is because I use it wrong or something. I just want to be confirmed that tinyxml is thread safe.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
my company use tinyxml as xml parser, but sometimes memory leak happens,so I check the code, and found that when pushing 1000 qps with 20 threads, just a simple TiXmlDocument::Parse() fuction will result in memory jump in less than 3 hour. I am sure tinyxml is thread safe, but the fact is that it is not . Maybe it is because I use it wrong or something. I just want to be confirmed that tinyxml is thread safe.