Uploaded image for project: 'AdMax'
  1. AdMax
  2. ADMAX-2417

ReDirect_Checker:Getting java.lang.OutOfMemoryError: Java heap space exception while uploading the file having more than 10 MB size.

    Details

      Description

      As per your (Vendor) Beta release note 1- "e-mails don't support attachment over 10 MB, we would be changing the same to just a notification message."

      1.Navigate to http://192.168.70.85/urlchecker/Uploadfile.html

      2.Upload the csv file having size more than 10 MB , enter valid details and click on SUBMIT button.

      Report successfully submitted for processing messge is displayed. There is no notification message displayed while uploading the file.

      Also we are getting exception in jboss...

      java.lang.OutOfMemoryError: Java heap space

      at org.apache.poi.hssf.usermodel.HSSFRow.<init>(HSSFRow.java:44)

      at org.apache.poi.hssf.usermodel.HSSFRow.<init>(HSSFRow.java:70)

      at org.apache.poi.hssf.usermodel.HSSFSheet.createRow(HSSFSheet.java:201)

      at com.tsa.redirectChecker.server.bean.CreateSheetData.createSheetData(CreateExcelSheet.java:1422)

      at com.tsa.redirectChecker.server.bean.CreateExcelSheet.createUrlSheet(CreateExcelSheet.java:899)

      at com.tsa.redirectChecker.server.database.DBConnection.commitBatches(DBConnection.java:522)

      at com.tsa.redirectChecker.server.database.DBConnection.processUrls(DBConnection.java:297)

      at com.tsa.redirectChecker.server.action.UploadFile.doGet(UploadFile.java:99)

      at com.tsa.redirectChecker.server.action.UploadFile.doPost(UploadFile.java:176)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

      It should not throw exception.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              atul.sanagar Atul Sanagar (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: