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

[BUG] Memory use on 2GB tablets. #281

Open
dcoredump opened this issue Mar 12, 2025 · 4 comments
Open

[BUG] Memory use on 2GB tablets. #281

dcoredump opened this issue Mar 12, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@dcoredump
Copy link

dcoredump commented Mar 12, 2025

Describe the bug
I use pipedal_1.4.72_arm64 on a Raspi5(8GB). The whole thing seems to work fine when I use the web interface. When using the Android app, the app (or rather the app interface) seems to hang up at some point and you can't make any changes

E.g.:

  • fresh installation
  • connecting via App
  • creating a new preset
  • adding pedals (tuner, Input, NaM, ...)
  • going to "manage presets" an rename the new preset

This seems not to work. So I tried to change preset... this also seems also not to work, but after some time the change is done and the "new and renamed preset" has its new name. So it seems to work but takes much time and there is no (visual) feedback. Not sure if this is a bug...

** Environment (please complete the following information):**

  • OS: Raspbian (Debian GNU/Linux 12 (bookworm))
  • Linux pipedal 6.6.74+rpt-rpi-2712 Create CODE_OF_CONDUCT.md #1 SMP PREEMPT Debian 1:6.6.74-1+rpt1 (2025-01-27) aarch64 GNU/Linux
  • Pi5 (8GB)
  • PiPedal Version 1.4.72
    If UI-related:
  • pipedal Android app (make problems), Chromium on PC works
@dcoredump dcoredump added the bug Something isn't working label Mar 12, 2025
@rerdavies
Copy link
Owner

How much RAM does your phone have? If it's < 2GB, let me know, and I'll review to see what I can do to reduce memory usage in the app.

@rerdavies
Copy link
Owner

I've tried it on a variety of phones (the smallest phone/table I have has 2gb), and I haven't been able to replicate the problem. Perhaps we should look at system logs to see if something odd is going on.

  1. Reboot your raspberry pi.
  2. Reproduce the issue using the steps you gave above.
  3. At a system prompt on the PiPedal device, run the following command:
journalctl -b0 | grep pipedal > capture.txt

And post the output here.

@dcoredump
Copy link
Author

Thanks for your fast response. In fact I used my old tablet (which says it has 2GB RAM), but using my much newer phone works like a charm! So no further debugging is necessary!

Thanks for this nice software. Hope I can try it soon on the PA in the rehearsal room!

@rerdavies rerdavies reopened this Mar 13, 2025
@rerdavies rerdavies changed the title [BUG] Android app seems to have communication problems [BUG] Memory use on 2GB tablets. Mar 13, 2025
@rerdavies
Copy link
Owner

Make sure dialogs are conditionally generated. Most likely a memory overcommit.

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

2 participants