Hi,
I am using latest POI 3.5 for Excel reading . I have Excel MS office 2007 installed and for that poi is providing XSSF for executing the data.
For 15000 lines of data it is executing properly , but exceeding the limit till 30000 or 100000 or 200000 , it is prone to java heap space exception.
code is below :
enter code here
UATinput = new FileInputStream(UATFilePath);
uatBufferedInputStream = new BufferedInputStream(UATinput);
UATworkbook = new XSSFWorkbook(uatBufferedInputStream);
I am getting Exception in the last line for java Heap size. I have increased the size using -Xms256m -Xmx1536m , but still for more data it is giving java heap space. I have tried so many ways to get out of this exception , but still same exception.
can anybody help me out for this Exception for the XSSFWorbook ?
Thanks, Mishal Shah