Be the first to rate this file! 11 Downloads (last 30 days) File Size: 2.58 KB File ID: #38793
image thumbnail

Scrolling Memory Monitor

by

 

25 Oct 2012 (Updated )

Displays recent history of Matlab & Java memory usage.

| Watch this File

File Information
Description

Simple display of recent history of matlab & java memory usage. Parameterized history buffer size & update rate.

% USAGE:
% memtracker
% Creates memtracker figure (docked by default)
%
% memmtracker pause
% Pauses the memory tracker from updating
%
% memmtracker 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 memtracker figure

MATLAB release MATLAB 7.11 (R2010b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Updates
26 Oct 2012

Added calls to mlock to prevent clearing of persistent variables.

11 Feb 2013

Added button to run java garbage collector.

Contact us