MemoryManager

MemoryManager()

This class is used to manage memory.

Methods

staticSuperMap3D.MemoryManager.getCacheSize()

Get the size of the cache space, in megabytes (MB).

staticSuperMap3D.MemoryManager.getMaxMemory()

Get the maximum avaliable memory space, in megabytes (MB).

staticSuperMap3D.MemoryManager.getMinQuality()

Get the mimimum rendering quality.

staticSuperMap3D.MemoryManager.setCacheSize()

Set the cache space size, in megabytes (MB), with the default value being 0.

staticSuperMap3D.MemoryManager.setMaxMemory()

Set the maximum avaliable memory space, in megabytes (MB).

staticSuperMap3D.MemoryManager.setMinQuality()

Set the mimimum rendering quality, with the default being 1% of the original clarity.

staticSuperMap3D.MemoryManager.showMemoryInfo()

Whether to display memory information in the logs, with the default being not to display.