Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

JavaRuntimeMBS.availableProcessors as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java Database MBS Java Plugin 8.5 Yes Yes Yes Yes No
Function: Returns the number of processors available to the Java virtual machine.
Notes: This value may change during a particular invocation of the virtual machine. Applications that are sensitive to the number of available processors should therefore occasionally poll this property and adjust their resource usage appropriately.

Feedback, Comments & Corrections

JavaRuntimeMBS.Constructor
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java Database MBS Java Plugin 15.1 Yes Yes Yes Yes No
Function: The private constructor.

Feedback, Comments & Corrections

JavaRuntimeMBS.freeMemory as Int64
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java Database MBS Java Plugin 8.5 Yes Yes Yes Yes No
Function: Returns the amount of free memory in the Java Virtual Machine.
Notes: Calling the gc method may result in increasing the value returned by freeMemory.

Feedback, Comments & Corrections

JavaRuntimeMBS.gc
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java Database MBS Java Plugin 8.5 Yes Yes Yes Yes No
Function: Invokes the garbage collection.
Notes: Calls "System.gc" in Java.

Feedback, Comments & Corrections

JavaRuntimeMBS.maxMemory as Int64
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java Database MBS Java Plugin 8.5 Yes Yes Yes Yes No
Function: Returns the maximum amount of memory that the Java virtual machine will attempt to use.
Notes: If there is no inherent limit then the value Long.MAX_VALUE will be returned.

Feedback, Comments & Corrections

JavaRuntimeMBS.totalMemory as Int64
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java Database MBS Java Plugin 8.5 Yes Yes Yes Yes No
Function: Returns the total amount of memory in the Java virtual machine.
Notes:
The value returned by this method may vary over time, depending on the host environment.
Note that the amount of memory required to hold an object of any given type may be implementation-dependent.

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS Java Plugin.




Links
MBS Xojo Plugins