My project parse XML file from dblp , it about 1GB to save in ORM database, so I use SAXP for reading information like (paper'author, paper'infomation ......).
The function reading is OK but when I using hibernate to save information to database it have error: "java.lang.OutOfMemoryError: Java heap space "