Search found 1 match

by crayoz
Fri Mar 22, 2019 12:16 am
Forum: Development of MicroPython
Topic: Do mem.current_bytes_allocated and mem.total_bytes_allocated mean something useful?
Replies: 0
Views: 2084

Do mem.current_bytes_allocated and mem.total_bytes_allocated mean something useful?

Hello, Checking the GC code and a way to find the current available RAM I found that gc.mem_free() solves my problem. But then I checked these 2 mem members and they just keep increasing with the calls to m_malloc and decreased sometimes with calls to m_free. It looks like gc.collect() doesn't have ...