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

Limit chromium disk-cache-size to 500Mb #613

Open
richardhuishwork opened this issue Nov 28, 2024 · 1 comment
Open

Limit chromium disk-cache-size to 500Mb #613

richardhuishwork opened this issue Nov 28, 2024 · 1 comment

Comments

@richardhuishwork
Copy link

richardhuishwork commented Nov 28, 2024

What were you doing?

Limit the disk space chromium can use to 500Mb to avoid it filling the whole disk.

What did you expect to happen?

N/A

What happened instead?

N/A

Was there an error message displayed? What did it say?

None

Version of FullPageOS?

0.14.0
The Pi3B is running FullPageOS 2024-10-28
2024-10-28_2024-10-22-fullpageos-bookworm-armhf-lite-0.14.0.zip 1.4GB
[Can be found in /etc/fullpageos_version ALWAYS INCLUDE.]

Screenshot(s) showing the problem:

[If applicable. Always include if unsure or reporting UI issues.]

If you are building FullPageOS - provide a build.log that is created for the build

I added the following to the flags used in start_chromium_browser to avoid it filling the whole disk.
--disk-cache-size=500000000

I.E.

flags=(
   --kiosk
   --touch-events=enabled
   --disable-pinch
   --noerrdialogs
   --disable-session-crashed-bubble
   --simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT'
   --disable-component-update
   --overscroll-history-navigation=0
   --disable-features=TranslateUI
   --autoplay-policy=no-user-gesture-required
   --disk-cache-size=500000000
)
@guysoft
Copy link
Owner

guysoft commented Dec 29, 2024

Is this an issue report? Because it looks you had an issue and solved it. Not sure how this is related.

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

2 participants