summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--unix/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/main.c b/unix/main.c
index d5b04d565b..2044e205e4 100644
--- a/unix/main.c
+++ b/unix/main.c
@@ -250,6 +250,7 @@ int usage(char **argv) {
mp_obj_t mem_info(void) {
printf("mem: total=%d, current=%d, peak=%d\n", m_get_total_bytes_allocated(), m_get_current_bytes_allocated(), m_get_peak_bytes_allocated());
+ gc_dump_info();
return mp_const_none;
}