memtracker(varargin​)

Displays recent history of Matlab & Java memory usage.
418 Downloads
Updated 24 Aug 2015

View License

% 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 (2024). memtracker(varargin) (https://www.mathworks.com/matlabcentral/fileexchange/38793-memtracker-varargin), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
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