Run Memory Map Analyzer from CLI

The Memory Map Analyzer is a tool that allows to visualize the RAM and ROM consumption of an Application developed within MICROEJ SDK.

By default, the Memory Map Analyzer runs in Eclipse IDE.

A simplified version of the tool can run from command line and export the memory analysis in a .csv file:

memory_map_analyzer_cli_1.1.zip (194.2 KB)

To use the tool, run the run.bat file.
The following variables need to be configured in the run.bat file:

  • VEEPORT_DIR: path to the VEE Port sources directory:
    • Example for SDK6: C:\pathToMyApp\build\vee
    • Example for SDK5: C:\myVEEPort\source
  • SOAR_MAP_FILE: path to the application .map file (e.g. C:\pathToMyApp\build\application\object\soar\<main-class-full-name>.map),
  • EXPORTED_CSV_FILE_NAME: filename of the exported memory map analysis (e.g. memory_map_analysis.csv)

The exported .csv file looks like that:

Alex for MicroEJ