Slide 27
Slide 27 text
out.println("Tamanho Inicial :: " + heapMemory.getInit() +
String.format(Locale.US, FORMAT,(double) heapMemory.getInit() / MEGA));
out.println("Tamanho atual :: " +
heapMemory.getInit() +
String.format(Locale.US, FORMAT, (double) heapMemory.getCommitted()
/ MEGA));
out.println("Usado :: " +heapMemory.getUsed() +
String.format(Locale.US, FORMAT, (double) heapMemory.getUsed() / MEGA));
out.println("Máximo :: " + heapMemory.getMax() +
String.format(Locale.US, FORMAT, (double) heapMemory.getMax() / MEGA));
out.println();