You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/solana/README.md
+25Lines changed: 25 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -265,6 +265,31 @@ The result should be like this (the actual balance might change):
265
265
#Delete key pair from the local file system
266
266
rm -rf /tmp/keypair.json
267
267
268
+
```
269
+
5. How can I add swap space to the instance if my Solana node runs out of RAM during the initial sync?
270
+
271
+
There are two ways. Using the existing volume or using a new one. If your instance has Instance Store volume attached, it is better to keep your swap on it.
272
+
273
+
- Option 1: Dedicated Instance Store volume
274
+
275
+
```bash
276
+
sudo mkswap /dev/nvme3n1
277
+
sudo swapon /dev/nvme3n1
278
+
# Check the memory space is updated
279
+
free -g
280
+
```
281
+
282
+
- Option 2: Existing volume (using Data directory as example):
0 commit comments