Set *HEAP* environment variable and provide more maximum JVM heap size,
default settings are:
> -Xms1g -Xmx1g -XX:MaxMetaspaceSize=256m
you can try increasing it twice and see how it goes.
Another option is to find the above line in jmeter startup script
(jmeter.bat on Windows or jmeter on other operating systems) and ramp-up the
heap size, start with something like 80% of your total available physical
RAM and adjust up or down as needed