I have a Java
project with a huge set of XML files (>500). Reading this files at runtime leads to performance issues.
Is there an option to load all the XML files to RAM and read from there instead of the disk?
I know there are products like RamDisk but this one is a commercial tool.
Can I copy XML files to main memory and read from main memory using any existing Java API / libraries?
BufferedReader
. How are you reading these files? And is the time really going in I/O, or in XML parsing (which seems more likely)? – user207421 May 19 '16 at 1:39