I want to parse a large xml file(785mb) and write the data to csv. I am getting java heapspace error(out of memory) when I try to parse the file. I tried increasing the heap size to 1024mb but the code could handle a file of 50mb maximum.
Please let me know a solution for parsing large xml file in java.