2 Replies Latest reply on Dec 26, 2013 11:55 AM by Aegis Kleais

    java.lang.OutOfMemoryError: Java heap space

    Abdul L Koyappayil Level 1

      Hello All,

       

      I was trying to read an excel file in Coldfusion using the below code , but I got the following error.

       

      Code :

       

      <cfspreadsheet action="read" src="TestData.xlsx" sheet="1" rows="2-3" query="excelData">

       

      Error :

       

        

      Java heap space The specific sequence of files included or processed is: /mnt/cfcontent/icfinstance/cet/ceg_v2/readExcel.cfm, line: 5 "

      java.lang.OutOfMemoryError: Java heap space.

       

      Any one have any idea about this. Your help is well appreciated.

       

      Thanks in advance