MCPcopy Create free account
hub / github.com/M66B/FairEmail / getAvailableMb

Method getAvailableMb

app/src/main/java/eu/faircode/email/Log.java:1900–1903  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1898 }
1899
1900 static int getAvailableMb() {
1901 Runtime rt = Runtime.getRuntime();
1902 return (int) (rt.maxMemory() / 1024L / 1024L);
1903 }
1904
1905 static InternetAddress myAddress() throws UnsupportedEncodingException {
1906 return new InternetAddress("marcel+fairemail@faircode.eu", "FairCode", StandardCharsets.UTF_8.name());

Callers 1

logMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected