Modifications pour le document FreeMem
Modifié par superadmin le 2021/12/12 23:50
Résumé
Détails
- Propriétés de la Page
-
- Contenu
-
... ... @@ -1,9 +2,7 @@ 1 -{{{ 2 2 {{groovy}} 3 -def t = new java.text.DecimalFormat("000,000,000 ,000");2 +def t = new java.text.DecimalFormat("000,000,000"); 4 4 def rt = Runtime.getRuntime(); 5 5 println("- free memory " + t.format(rt.freeMemory())) 6 6 println("- max memory " + t.format(rt.maxMemory())) 7 7 println("- total memory " + t.format(rt.totalMemory())) 8 8 {{/groovy}} 9 -}}}