Create memory.md
This commit is contained in:
parent
d3ba23cc3f
commit
242e651801
11
pages/linux/memory.md
Normal file
11
pages/linux/memory.md
Normal file
|
@ -0,0 +1,11 @@
|
|||
# Memory management
|
||||
|
||||
> Commands for managing memory.
|
||||
|
||||
- Clear swap:
|
||||
|
||||
`sudo swapoff -a && sudo swapon -a`
|
||||
|
||||
- Clear caches:
|
||||
|
||||
`echo 3 | sudo tee /proc/sys/vm/drop_caches`
|
Reference in a new issue