Algosim documentation: MemoryUsage

MemoryUsage

Returns information about the Algosim memory usage.

Syntax

Description

MemoryUsage() returns a structure describing the current Algosim memory usage (client and front end combined).

Examples

A ≔ MemoryUsage().WorkingSetSize
33 415 168
M ≔ ZeroMatrix(5000);
B ≔ MemoryUsage().WorkingSetSize
284 106 752
B − A
250691584

(In 32-bit Algosim, a floating-point number requires ten bytes. Hence, a 5000×5000 matrix should use about 5000²⋅10 = 250000000 bytes.)