TiTawN Posted January 5, 2022 Share Posted January 5, 2022 Hello, Why when the size of the .xml file increases, the server encounters a lag Link to comment
Moderators IIYAMA Posted January 5, 2022 Moderators Share Posted January 5, 2022 1 hour ago, TiTawN said: Hello, Why when the size of the .xml file increases, the server encounters a lag The xml object model (or a custom implementation) is saved inside of the memory. XML is fast for modifying specific nodes because of the model. When you run out of memory because the file is too big, it is normally for the server to use storage as memory (swap). Which is slow memory. But I am not sure if that is your problem, but it is a possibility. Read more about xml object model here: https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ms759093(v=vs.85) It is very important to unload large xml files. And never use it for data that keeps growing like logs. Link to comment
Moderators IIYAMA Posted January 15, 2022 Moderators Share Posted January 15, 2022 @TiTawNdo you need more information on this subject? (Or maybe an alternative to XML, depending on the context of the data) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now