.. index:: memstat, ram, flash. memory,memory usage,gd32vf103,cortex-m .. _memstat: Memstat ======= Memstat is a Mecrisp Forth development aid to monitor both MCU Flash and Ram memory usage. Details are in the source below. STM32F103C8 ----------- .. image:: pics/memstats-stm32f103.jpg GD32VF103 --------- .. image:: pics/memstats-GD32VF103.jpg Code ---- :download:`Download memstat.fs ` .. raw:: html :file: library/memstat.fs.html .. warning:: Ram and Flash values reported by "free" are totally seperate from values the Mecrisp-Stellaris Kernel uses. These values are preset and used when the Kernel is compiled. To configure the Kernel memory values for your MCU see :ref:`Changing Kernel Flash and Ram values`. Using these preset Kernel memory values, Mecrisp-Stellaris will print warnings when Flash or Ram reserves are exhausted.