Your have not specified the error. I would like to suggest increase the heap of jmeter.
Procedure to increase heap size in JMeter:
1. Go to the bin folder of JMeter apache-jmeter-<version> -> bin
2. Right-click and open jmeter.bat file in notepad or notepad++
3. Search for the keyword ‘set Heap’
4. You can see the default heap size (1 GB – may vary in your JMeter version)
5. set HEAP=-Xms1g -Xmx1g -XX:MaxMetaspaceSize=256m
6. Change the -Xms (initial heap size) and -Xmx (maximum heap size) values. You can increase these values up to 80% of total heap. In my case, I just increased the max heap size value. Refer to the below arguments:
set HEAP=-Xms1g -Xmx2g -XX:MaxMetaspaceSize=256m
OR a better option is running the test in distributed mode when you are running a long test.
Refer this.