Alguem por acaso sabe o que é o retorno dessas funções??
Eles correspondem a o que? Se for a memória do computador tá em que unidade, bits? byte?? Kb?
Runtime.TotalMemory() e Runtime.FreeMemory()
S
2 Respostas
S
Runtime.TotalMemory() --> retorna a memória total utilizada pela JVM.
Runtime.FreeMemory() --> retorna a memória livre do sistema em bytes
B
TotalMemory: the total amount of memory currently available for current and future objects, measured in bytes.
FreeMemory: an approximation to the total amount of memory currently available for future allocated objects, measured in bytes.
Criado 14 de fevereiro de 2003
Ultima resposta 14 de fev. de 2003
Respostas 2
Participantes 2