To add swap:
- edit the file
/etc/dphys-swapfile
using root, e.g.,sudo nano /etc/dphys-swapfile
- replace the line
CONF_SWAPSIZE=100
withCONF_SWAPSIZE=4096
- restart swap:
sudo /etc/init.d/dphys-swapfile restart
Also, disable catchpoint tracking following this post: Archival Node Sync Time - #6 by tsachi
You will need to create a file config.json
in your data folder data/
if it does not exist. It’s a JSON file and you must make it look something like:
{
"CatchpointTracking": -1,
...
}
(where ...
are all the other settings - if no other settings remove the comma above)