I am parsing XML File of Size 2GB. For Parsing am using Xstream Library,
Its wait for 5mins then it is throwing java.lang.OutOfMemoryError: GC overhead limit exceeded
.
Can you provide solution to parse large amount of XML files. Can you provide alternatives to parse XML Files faster.
Update: I have done using JaxB+Stax parser to resolve performance and resolved java.lang.OutOfMemoryError: GC overhead limit exceeded exception.