1

I wrote code in java which reading one excel file and after encrypting data its writing againg. Code is working fine but when i am passing 12 mb size file to code its giving error

 Warning:  Usage of a local non-builtin name

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at jxl.read.biff.File.next(File.java:181) at jxl.read.biff.SheetReader.read(SheetReader.java:375) at jxl.read.biff.SheetImpl.readSheet(SheetImpl.java:716) at jxl.read.biff.WorkbookParser.getSheet(WorkbookParser.java:257) at ReadExcel.read(ReadExcel.java:41) at ReadExcel.main(ReadExcel.java:162)

How can i resolve it.

Lalit Chattar
  • 1,914
  • 8
  • 27
  • 49

0 Answers0