public static SysInfo connectGetSysInfo(String serverSettings, PrintStream out, PrintStream err) {
        SysInfo sysinfo = new SysInfo(-1, -1);
        String id = Util.extractStringOption("id", serverSettings);
        String portfile = Util.extractStringOption("portfile", serverSettings);
        try {
            PortFile pf = getPortFile(portfile);
            useServer(serverSettings, new String[0],
                    new HashSet<URI>(),
                    new HashSet<URI>(),
                    new HashMap<URI, Set<String>>(),
                    new HashMap<String, Set<URI>>(),
                    new HashMap<String, Set<String>>(),
                    new HashMap<String, String>(),
                    sysinfo, out, err);
        } catch (Exception e) {
            e.printStackTrace(err);
        }
        return sysinfo;
    }
public static SysInfo connectGetSysInfo ( String serverSettings , PrintStream out , PrintStream err ) { SysInfo sysinfo = new SysInfo ( - 1 , - 1 ) ; String id = Util . extractStringOption ( "id" , serverSettings ) ; String portfile = Util . extractStringOption ( "portfile" , serverSettings ) ; try { PortFile pf = getPortFile ( portfile ) ; useServer ( serverSettings , new String [ 0 ] , new HashSet < URI > ( ) , new HashSet < URI > ( ) , new HashMap < URI , Set < String > > ( ) , new HashMap < String , Set < URI > > ( ) , new HashMap < String , Set < String > > ( ) , new HashMap < String , String > ( ) , sysinfo , out , err ) ; } catch ( Exception e ) { e . printStackTrace ( err ) ; } return sysinfo ; }
Make a request to the server only to get the maximum possible heap size to use for compilations.

@param port_file The port file used to synchronize creation of this server.
@param id The identify of the compilation.
@param out Standard out information.
@param err Standard err information.
@return The maximum heap size in bytes.