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

Optimize Memory Consumption for Pi Zero2 #1

Open
mgineer85 opened this issue Nov 4, 2024 · 1 comment
Open

Optimize Memory Consumption for Pi Zero2 #1

mgineer85 opened this issue Nov 4, 2024 · 1 comment
Assignees

Comments

@mgineer85
Copy link
Contributor

Optimize Memory for Pi Zero 2

Before
total: 427
started:
avail: 303
swap used: 2
app started and in idle:
avail: 87
swap used: 77
app started some photos taken:
avail: 200
swap used: 150

After
total: 459
started:
avail: 330
swap used: 0
app started and in idle:
avail: 106
swap used: 2
app started some photos taken:
total: 200
swap used: 25

sudo systemctl disable apt-daily-upgrade.timer
sudo systemctl disable apt-daily-upgrade.service
sudo systemctl disable apt-daily.timer
sudo systemctl disable apt-daily.service
gpu_mem=32
arm_boost=0
max_framebuffers=1
dtoverlay=disable-bt
dtparam=audio=off
@mgineer85 mgineer85 self-assigned this Nov 4, 2024
@mgineer85
Copy link
Contributor Author

should be fixed by switching to YUV420 now for main/lores: raspberrypi/picamera2#1158
also disable denoiser in pipeline to avoid sync issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant