The node you are looking for is at gnat_ugn/platform_specific_information setting-heap-size-from-gnatlink.