I am trying to parse xml file with VTDGen library. It was perfect to parse xml till I am having trouble with over 1GB xml File.
This is a code how I parse it.
VTDGen vg = new VTDGen();
in = new SmbFileInputStream(fileToGet);
byte[] b = new byte[(int) fileToGet.length()];
in.read(b);
vg.setDoc(b);
vg.parse(true);
This is an error I get it.
com.ximpleware.ParseException: Other error: file size too big >=1GB
Is there any way I can increase size or should I write a code with a another parser?
Thank you in advance.
read about the limitations of VTD:
From http://vtd-xml.sourceforge.net/userGuide/0.html