Skip to content

Multiview memory leak from CLI #114

Description

@kiwi1969

If from CLI, if you run multiview and don't select a file, and quit, there is a memory leak of 128 bytes per execution

To Reproduce
Steps to reproduce the behavior:

  1. Go to CLI
  2. Take note of available member displayed in WorkBench toolbar
  3. Type Multiview
  4. In resultant file requestor, hit cancel
  5. Wait a couple secs. Take note of available member displayed in WorkBench toolbar - is 128 bytes less for every execution

Expected behavior
Expect memory to restore to exactly what we started with

Configuration
Apollo Device
V4+ Stand Alone Apollo-OS 9.4

Activity

  1. kiwi1969 commented on Sep 21, 2024

    @kiwi1969
    ContributorAuthor

    Also can see clearly from CLI avail command, that Fast ram total drops each time. (ignore first time as something else seems to eat some memory - maybe a new lib or something gets loaded.
    Strangely never matches with Workbench 'Other' memory, but think that is another issue

    Screenshot 2024-09-21 at 4 56 41 PM

  2. kiwi1969 commented on Sep 21, 2024

    @kiwi1969
    ContributorAuthor

    If type nearly any command in CLI the memory drops
    Maybe the command history is responsible, which in that case is not a bug when run from CLI.

    But it run from WB using menu ->Execute command Multiview , exit and repeat multiple times. 52k is lost everytime (which is worse).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions