pub fn pss_max_size(mut self, val: usize) -> Self {
        self.pss_max_size = val;
        self
    }
Sets the maximum number of pages that can have their states stored in
the page state store before the oldest will be evicted. If your app is
taking up a substantial amount of memory in the browser because your
page states are fairly large, making this smaller may help.

By default, this is set to 25. Higher values may lead to memory
difficulties in both development and production, and the poor user
experience of a browser that's substantially slowed down.

WARNING: any setting applied here will impact HSR in development! (E.g.
setting this to 1 would mean your position would only be
saved for the most recent page.)
packages/perseus/src/init.rs