jaison2611
7 years agoOccasional Visitor
java.lang.OutOfMemoryError: GC overhead limit exceeded
Hi,
I have 40+ test scripts in a particular test suite, running it parallely getting " java.lang.OutOfMemoryError: GC overhead limit exceeded" exception.
This exception comes often when Datasource -> Excel (getting data from excel)
[Functional Test-P3] 07:13:22,604 INFO [SoapUIProTestCaseRunner] Running TestCase [SECOM-3172] [Functional Test-P3] 07:13:22,604 INFO [SoapUIProTestCaseRunner] running step [getDataFromExcel] [Functional Test-P2] 07:13:19,580 ERROR [SoapUI] An error occurred [GC overhead limit exceeded], see error log for details [Functional Test-P2] 07:13:19,582 ERROR [errorlog] java.lang.OutOfMemoryError: GC overhead limit exceeded [Functional Test-P2] java.lang.OutOfMemoryError: GC overhead limit exceeded [Functional Test-P2] at org.apache.poi.xssf.usermodel.XSSFRow.<init>(XSSFRow.java:68) [Functional Test-P2] at org.apache.poi.xssf.usermodel.XSSFSheet.initRows(XSSFSheet.java:238) [Functional Test-P2] at org.apache.poi.xssf.usermodel.XSSFSheet.read(XSSFSheet.java:201) [Functional Test-P2] at org.apache.poi.xssf.usermodel.XSSFSheet.onDocumentRead(XSSFSheet.java:188) [Functional Test-P2] at org.apache.poi.xssf.usermodel.XSSFWorkbook.onDocumentRead(XSSFWorkbook.java:378) [Functional Test-P2] at org.apache.poi.POIXMLDocument.load(POIXMLDocument.java:166) [Functional Test-P2] at org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:241) [Functional Test-P2] at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:175) [Functional Test-P2] at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:143) [Functional Test-P2] at com.eviware.soapui.impl.wsdl.teststeps.datasource.ExcelFacade.readWorkbookFrom(ExcelFacade.java:42) [Functional Test-P2] at com.eviware.soapui.impl.wsdl.teststeps.datasource.ExcelMemoryReader.a(ExcelMemoryReader.java:37) [Functional Test-P2] at com.eviware.soapui.impl.wsdl.teststeps.datasource.ExcelReader.load(ExcelReader.java:97) [Functional Test-P2] at com.eviware.soapui.impl.wsdl.teststeps.datasource.ExcelDataSource.a(ExcelDataSource.java:207) [Functional Test-P2] at com.eviware.soapui.impl.wsdl.teststeps.datasource.ExcelDataSource.load(ExcelDataSource.java:186) [Functional Test-P2] at com.eviware.soapui.impl.wsdl.teststeps.WsdlDataSourceTestStep.c(WsdlDataSourceTestStep.java:603) [Functional Test-P2] at com.eviware.soapui.impl.wsdl.teststeps.WsdlDataSourceTestStep.b(WsdlDataSourceTestStep.java:597) [Functional Test-P2] at com.eviware.soapui.impl.wsdl.teststeps.WsdlDataSourceTestStep.a(WsdlDataSourceTestStep.java:787) [Functional Test-P2] at com.eviware.soapui.impl.wsdl.teststeps.WsdlDataSourceTestStep.next(WsdlDataSourceTestStep.java:797) [Functional Test-P2] at com.eviware.soapui.impl.wsdl.teststeps.WsdlDataSourceTestStep.run(WsdlDataSourceTestStep.java:225) [Functional Test-P2] at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:260) [Functional Test-P2] at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runCurrentTestStep(WsdlTestCaseRunner.java:50) [Functional Test-P2] at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:170) [Functional Test-P2] at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:1) [Functional Test-P2] at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:129) [Functional Test-P2] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [Functional Test-P2] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [Functional Test-P2] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [Functional Test-P2] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [Functional Test-P2] at java.lang.Thread.run(Thread.java:748) [Functional Test-P2] java.lang.OutOfMemoryError: GC overhead limit exceeded [Functional Test-P2] at org.apache.poi.xssf.usermodel.XSSFRow.<init>(XSSFRow.java:68) [Functional Test-P2] at org.apache.poi.xssf.usermodel.XSSFSheet.initRows(XSSFSheet.java:238) [Functional Test-P2] at org.apache.poi.xssf.usermodel.XSSFSheet.read(XSSFSheet.java:201) [Functional Test-P2] at org.apache.poi.xssf.usermodel.XSSFSheet.onDocumentRead(XSSFSheet.java:188) [Functional Test-P2] at org.apache.poi.xssf.usermodel.XSSFWorkbook.onDocumentRead(XSSFWorkbook.java:378) [Functional Test-P2] at org.apache.poi.POIXMLDocument.load(POIXMLDocument.java:166) [Functional Test-P2] at org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:241) [Functional Test-P2] at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:175) [Functional Test-P2] at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:143) [Functional Test-P2] at com.eviware.soapui.impl.wsdl.teststeps.datasource.ExcelFacade.readWorkbookFrom(ExcelFacade.java:42) [Functional Test-P2] at com.eviware.soapui.impl.wsdl.teststeps.datasource.ExcelMemoryReader.a(ExcelMemoryReader.java:37) [Functional Test-P2] at com.eviware.soapui.impl.wsdl.teststeps.datasource.ExcelReader.load(ExcelReader.java:97) [Functional Test-P2] at com.eviware.soapui.impl.wsdl.teststeps.datasource.ExcelDataSource.a(ExcelDataSource.java:207) [Functional Test-P2] at com.eviware.soapui.impl.wsdl.teststeps.datasource.ExcelDataSource.load(ExcelDataSource.java:186) [Functional Test-P2] at com.eviware.soapui.impl.wsdl.teststeps.WsdlDataSourceTestStep.c(WsdlDataSourceTestStep.java:603)07:13:22,390 ERROR [SoapUIProTestCaseRunner] getDataFromExcel failed, exporting to [/media/ephemeral0/readyapi/ecomm_8.0/merchandiseservices/p2/Reports/POSTProject-SECOM3232-getDataFromExcel-0-FAIL.txt] [Functional Test-P2] [Functional Test-P2] at com.eviware.soapui.impl.wsdl.teststeps.WsdlDataSourceTestStep.b(WsdlDataSourceTestStep.java:597) [Functional Test-P2] at com.eviware.soapui.impl.wsdl.teststeps.WsdlDataSourceTestStep.a(WsdlDataSourceTestStep.java:787) [Functional Test-P2] at com.eviware.soapui.impl.wsdl.teststeps.WsdlDataSourceTestStep.next(WsdlDataSourceTestStep.java:797) [Functional Test-P2] at com.eviware.soapui.impl.wsdl.teststeps.WsdlDataSourceTestStep.run(WsdlDataSourceTestStep.java:225) [Functional Test-P2] at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:260) [Functional Test-P2] at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runCurrentTestStep(WsdlTestCaseRunner.java:50) [Functional Test-P2] at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:170) [Functional Test-P2] at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:1) [Functional Test-P2] at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:129) [Functional Test-P2] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [Functional Test-P2] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [Functional Test-P2] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [Functional Test-P2] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [Functional Test-P2] at java.lang.Thread.run(Thread.java:748) [Functional Test-P2] 07:13:22,394 INFO [SoapUIProTestCaseRunner] running step [createProjectUsingPOST - Request] [Functional Test-P2] 07:13:22,452 INFO [SoapUIProTestCaseRunner] Assertion [Match content of [responseCode]] has status FAIL [Functional Test-P2] 07:13:22,453 ERROR [SoapUIProTestCaseRunner] ASSERTION FAILED -> Comparison failed. Path: [$['responseCode']]; Expected value: []; Actual value: [[]]. [Functional Test-P2] 07:13:22,453 INFO [SoapUIProTestCaseRunner] Assertion [Match content of [responseMessage]] has status FAIL
/media/ephemeral0/readyapi/ecomm_8.0/merchandiseservices/p2/Reports/POSTProject-SECOM3232-getDataFromExcel-0-FAIL.txt Status: FAIL Time Taken: 154944 Size: 0 Timestamp: Fri Nov 02 07:10:47 UTC 2018 TestStep: getDataFromExcel Error:java.lang.OutOfMemoryError: GC overhead limit exceeded