hello,
i want to read an large XML-File with a lot oft tags, elements, text, and attributes. I am getting
java.lang.OutOfMemoryError error.So I thought to read chunks of data from large xml.suppose if there are 50000 elemets.I want to read each time just 5000 elements only.After I read 5000 elememts I will anothe 5000 elements.this way I am thinking solve outofmemory error.
How can I solve the problem?