Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiview memory leak from CLI #114

Open
kiwi1969 opened this issue Aug 24, 2024 · 2 comments
Open

Multiview memory leak from CLI #114

kiwi1969 opened this issue Aug 24, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@kiwi1969
Copy link
Contributor

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

@kiwi1969 kiwi1969 added the bug Something isn't working label Aug 24, 2024
@kiwi1969
Copy link
Contributor Author

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

@kiwi1969
Copy link
Contributor Author

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
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant