We are reading data from the excel file using Apachi POI, It has 800 rows of input data for our Selenium automation testcases. We have configured using jenkins and executed the batch jobs and it was working fine for more than a year . but now it shows error that "Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded". when we increase the JVM memory size as 1024 MB it is working fine. The excel file size is only 68KB. but it shows GC error. Could you please help us what is the cause of the issue . how we can give the pemanent fix for the issue .
- Total rows in the excel sheet is 800
- excel sheet file size is 68KB
Getting error message as:
Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded".
Please find the attached screenshot for the refrence enter image description here