Sentinel 1 topsar image subset error

I am trying to subset sentinel 1 image and it is showing an error. I t is throwing the following error. My system runs with 4gb ram. Does this problem is related to ram memory. Should i increase the ram memory for processing of data…

java.lang.OutOfMemoryError: GC overhead limit exceeded

that means that your RAM is not enough:
8 GB has been found to be a minimum requirement for S1 SLC data.