Download google-chrome-ram.sh
make it executable and call it with or without a profile name.
If you call it like this:
$ ./google-chrome-ram.sh
It will use default
as the name of the profile.
If you call like this:
$ ./google-chrome-ram.sh work
It will use work
as the name of the profile.
You can open as many profiles as you want at the same time. One does not change the other.
- Copy your profile to
/dev/shm/google-chrome-XXX
(/dev/shm
is a RAM disk) - Open
google-chrome-stable
pointing to that directory - After closing Google Chrome copy back to
~/.local/google-chrome/XXX
This script does not sync often, you can and will lose your work if you close without waiting it to sync back.
Be aware.
Also, sync your profile with a Google account.