修改/proc/sys/vm/drop_caches,释放Slab占用的cache内存空间(参考drop_caches的官方文档): Writing to this will cause the kernel to drop clean caches, dentries and inodes from memory, causing that memory to become free. To free pagecache: * echo 1 > /proc/sys/vm/drop_caches
linux服务器使用Jenkins+gradle+git打apk包,遇到的错误Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed),如图所示 问题产生原因:linux服务器可用内存太小,Android项目编译时恰恰又比较耗内存,所以在编译中内存不足,gradle报错 查看内存命令:free -lh
在linux服务器执行程序时报错: awk: write failure (No space left on device)awk: close failed on file /dev/stdout (No space left on device) 参考:https://blog.csdn.net/liuxiangke0210/article/details/54924786 1. df命令用于显示磁盘分区上的可使用的磁盘空间.默认显示单位为KB.可以利用该命令来获取硬盘被占用了多少空间,目前