Skip to content

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

Closed
@richardhuishwork

Description

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
)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions