[MINOR] Improved JMLC memory profiling, command line arg -mem Closes #797.
Project: http://git-wip-us.apache.org/repos/asf/systemml/repo Commit: http://git-wip-us.apache.org/repos/asf/systemml/commit/9db274fe Tree: http://git-wip-us.apache.org/repos/asf/systemml/tree/9db274fe Diff: http://git-wip-us.apache.org/repos/asf/systemml/diff/9db274fe Branch: refs/heads/gh-pages Commit: 9db274fe67bfbee5b348bd8db5274621d718e9b5 Parents: a2d3a72 Author: Anthony Thomas <[email protected]> Authored: Thu Jul 12 21:30:22 2018 -0700 Committer: Matthias Boehm <[email protected]> Committed: Thu Jul 12 21:30:23 2018 -0700 ---------------------------------------------------------------------- jmlc.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/systemml/blob/9db274fe/jmlc.md ---------------------------------------------------------------------- diff --git a/jmlc.md b/jmlc.md index a703d01..08d1688 100644 --- a/jmlc.md +++ b/jmlc.md @@ -55,12 +55,8 @@ JMLC can be configured to gather runtime statistics, as in the MLContext API, by method with a value of `true`. JMLC can also be configured to gather statistics on the memory used by matrices and frames in the DML script. To enable collection of memory statistics, call Connection's `gatherMemStats()` method with a value of `true`. When finegrained statistics are enabled in `SystemML.conf`, JMLC will also report the variables -in the DML script which used the most memory. By default, the memory use reported will be an overestimte of the actual -memory required to run the program. When finegrained statistics are enabled, JMLC will gather more accurate statistics -by keeping track of garbage collection events and reducing the memory estimate accordingly. The most accurate way to -determine the memory required by a script is to run the script in a single thread and enable finegrained statistics. - -An example showing how to enable statistics in JMLC is presented in the section below. +in the DML script which used the most memory. An example showing how to enable statistics in JMLC is presented in the +section below. ---
