File Exchange

image thumbnail

memtracker(varargin​)

version 1.6.0.0 (5.06 KB) by Jesse Hopkins
Displays recent history of Matlab & Java memory usage.

0 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
%

Comments and Ratings (2)

@John, thanks for pointing out. Just uploaded a new version with corrected help comments.

I see that in the help, in some places you are directed to use memmtracker, in others, memtracker.

Seems just a typo since there is no provided function named memmtracker.

Updates

1.6.0.0

Improved backward compatibility of YTickLabels for Matlab versions < R2014B

1.6.0.0

Fixed typo in help comments

1.5.0.0

Modified YTick Labels for compatibility with R2014B

1.5.0.0

Added button to run java garbage collector.

1.1.0.0

Added calls to mlock to prevent clearing of persistent variables.

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