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 .