Memory used by the current session
This functionality does not run in MATLAB.
bytes() returns the current memory consumption.
bytes returns the following three numbers:
The number of bytes used logically; this is the amount of memory which is actually used for storing MuPAD® data.
The number of bytes physically allocated by the memory management; this is the amount of memory MuPAD has allocated from the operating system. The difference between the physical and the logical bytes is the amount of memory which has already been reserved for future calculations.
The maximum number of bytes ever allocated from the operating system during the current session. This value never decreases, not even on a call to reset.
In a freshly started MuPAD session, bytes may return the following data on the memory consumption of the session:
Each computation increases the memory usage:
solve(x-1=0, x): bytes()