Jump to content
  • 0

XML RAM overuse


weirdo

Question

Posted

Hello,

I have a problem with a single resource that makes the server crash by overusing server RAM. The resource uses very much XML but the files are always unloaded. Is there any way to fix this without moving to e.g. SQL?

5 answers to this question

Recommended Posts

  • 0
Posted

XML is not recommended for saving, unless it's one file, you are probably using it for accounts or such.

I recommend SQLite.

  • 0
Posted

If your using it to save things on your computer, like accounts, then there's no way to fix this...

Unless you could create an xml file on the clients computer and check to see if it's there.

  • 0
Posted

Strings are the most commonly used objects in any Java program. They are used for storing a collection of characters. These characters when combined form a String with the property that the contents of the String can not be changed once created.

String Usage in Java

Strings are used invariably with every other concept in Java be it Multi-threading , Serialization, Reflection, Collection, and Exceptions etc. But strings usage can also lead to improper programs being created with subtle issues like memory leaks and performance overhead.

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...