"Java Heap Space" in CIT log

Hi,

I have few scenarios configured in CIT to create/update tickets in SMAX. all those scenarios have been scheduled in Service Console. few created for fetching CSV, TXT works fine. But 2 scenarios which have been created to read emails and process the SMAX tickets, stops working every 15-20 days. when checked in log, below error is captured:

(-499) Error while reading email messages from IMPA server (error 'Java Heap Space\n').

with this error, both scenarios stops working. To solve this issue. I need to manually run the scenarios. once scenario is run manually, scheduled scenarios next runs will be successful for next 15-20 days.

I am using CIT 9.90 with Java 8u421.

Please help.

Thanks,

Darshana