Skip to content

Commit bc6a7d2

Browse files
authored
Fix command for clearing of cache memory
1 parent 7aaacaa commit bc6a7d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,8 @@ sudo systemctl list-units --state running
546546
Then clear cache memory to improve system performance. One way to clear cache memory
547547
on Linux without having to reboot the system:
548548
```sh
549-
free -m -h && sudo echo 3 > /proc/sys/vm/drop_caches && free -m -h
549+
sudo su
550+
free -m -h && sync && echo 3 > /proc/sys/vm/drop_caches && free -m -h
550551
```
551552

552553
Sbt plugin for JMH tool is used for benchmarking, to see all their features and options please check

0 commit comments

Comments
 (0)