AG-1 Heap size fix

The Heap size issue has been fixed