Jump to content

Lag too much server


Recommended Posts

  • Moderators
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
  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...