Out of memory issues

Hi,
I am running DPARSF preprocessing for about 160 subjects. After 36 hours or so of running I am getting the following message:
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
Has anyone encountered such an issue? And if so any advice would be most appreciated.
Thanks,
Farras