Querying env for symmetric heap size before allocation