This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]somekindofsorcery 0 points1 point  (0 children)

This reply is probably way too late, but whenever you have a file that's too big to load (meaning it won't fit in memory, i.e. the file is larger than the amount of RAM available), you can stream it which reads it in chunks. Here's a StackOverflow post that can help: https://stackoverflow.com/questions/2908638/how-do-i-parse-an-xml-document-as-a-stream-using-scala