memtracker(varargin​)

Displays recent history of Matlab & Java memory usage.

You are now following this Submission

% USAGE:
% memtracker
% Creates memtracker figure (docked by default)
%
% memtracker pause
% Pauses the memory tracker from updating
%
% memtracker resume
% Resumes memory tracker updating
%
% memtracker('SetUpdateRate',ur)
% Sets update rate to specified interval (seconds) (default: 0.5 sec)
%
% memtracker('SetBufferSize',size)
% Sets the buffer size to specified size (number of elements) (default: 500)
%
% memtracker('SetPlotProps', ... )
% Applies specified property/value pairs to the line objects
%
% memtracker('SetAxProps', ... )
% Applies specified property/value pairs to the axes objects
%
% memtracker('SetFigProps', ... )
% Applies specified property/value pairs to the figure
%
% memtracker dock
% Dock the memtracker figure
%
% memtracker undock
% Undock the memetracker figure
%
%
% Author: Jesse Hopkins
% Date: Oct. 25 2012
%

Cite As

Jesse Hopkins (2026). memtracker(varargin) (https://au.mathworks.com/matlabcentral/fileexchange/38793-memtracker-varargin), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.6.0.0

Improved backward compatibility of YTickLabels for Matlab versions < R2014B
Fixed typo in help comments

1.5.0.0

Modified YTick Labels for compatibility with R2014B
Added button to run java garbage collector.

1.1.0.0

Added calls to mlock to prevent clearing of persistent variables.

1.0.0.0