Setting heap size from configuration file