Changes

Jump to navigation Jump to search
41 bytes added ,  18:02, 17 December 2018
|-
| width='120' | '''Signatures'''
|{{Func|prof:runtime|$name of xs:string|map(*)xs:integer}}
|-
| '''Summary'''
|Returns a map with environment properties the value of the current Java specified runtime{{Code|$option}}. The following options exist:
* `max`: Maximum memory that the Java virtual machine will attempt to use.
* `total`: Total memory in the Java virtual machine (varies over time).
| '''Examples'''
|
* {{Code|prof:gc(3), prof:human(prof:runtime('used')?used})} performs some garbage collection and returns the currently used amount of memory in a user-friendly format.
|}
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu