Skip to content

Instantly share code, notes, and snippets.

@lostdj
Created September 4, 2018 09:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lostdj/e660e9343feeb41b3f7720750f311471 to your computer and use it in GitHub Desktop.
Save lostdj/e660e9343feeb41b3f7720750f311471 to your computer and use it in GitHub Desktop.
export LD_PRELOAD=$LD_PRELOAD:/nix/store/i81q250v8nnxc2c3xmvk3rghcyjvymcl-jemalloc-4.3.1/lib/libjemalloc.so.2
# hard no cache
CHCACHE="--disk-cache-size=1 --media-cache-size=1 --aggressive-cache-discard --disable-cache --disable-application-cache --disable-offline-load-stale-cache --mem-pressure-system-reserved-kb=5242880 --v8-cache-options=\"off\" --v8-cache-strategies-for-cache-storage=\"off\""
/mnt/zfs/levault/app/chrome/chrome --site-per-process --process-per-site --allow-file-access-from-files --enable-easy-off-store-extension-install --disable-contextual-search --disable-logging --disable-notifications --disable-offline-auto-reload --no-pings --non-material --disk-cache-dir="/letmp/syn/chrom" $CHCACHE "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment