spefici heap size in launch script; use IOUtils when read from inputstream