[Seek Help] 请教,pycharm执行一晚python程序,磁盘空间少了10G
Tofloor
poster avatar
taffy
deepin
2023-05-05 00:49
Author

如题,pycharm跑了一晚上python代码,主要是生成一点数据,生成的数据总共也就400M左右,但磁盘空间却少了10G,请问这可能是那里的问题?

Reply Favorite View the author
All Replies
明天会更好
deepin
2023-05-05 02:22
#1

清理缓存试试怎么样

Reply View the author
落日
deepin
2023-05-05 02:26
#2

应该是生成了大量缓存数据,清理一下就行了

Reply View the author
taffy
deepin
2023-05-05 02:54
#3
明天会更好

清理缓存试试怎么样

请问是在pycharm里面清除缓存吗,并没有用

Reply View the author
taffy
deepin
2023-05-05 02:55
#4
落日

应该是生成了大量缓存数据,清理一下就行了

请问是在哪里操作呢,尝试在pycharm里清除了缓存,并没有用

Reply View the author
落日
deepin
2023-05-05 03:04
#5
taffy

请问是在哪里操作呢,尝试在pycharm里清除了缓存,并没有用

你看下主目录下的.cache文件夹

Reply View the author
taffy
deepin
2023-05-05 03:12
#6
落日

你看下主目录下的.cache文件夹

看了下,.cache文件总共也就4G大小

Reply View the author
落日
deepin
2023-05-05 03:17
#7
taffy

看了下,.cache文件总共也就4G大小

那我就不清楚了,总不能是日志文件这么多吧

Reply View the author
taffy
deepin
2023-05-05 03:50
#8
落日

那我就不清楚了,总不能是日志文件这么多吧

日志500M😢

Reply View the author
wtz
deepin
2023-05-05 23:52
#9

应用商店搜索安装filelight,可以分析磁盘中的空间占用情况。

Reply View the author
核桃
deepin
2023-05-06 00:58
#10

使用命令du -sh 看目录下的空间哪里占用比较高的?有可能是一些隐藏文件数据或日志文件导致的。

Reply View the author
raspbian
deepin
2023-05-08 22:04
#11

可以用ncdu直接查看文件占用情况

屏幕截图 2023-05-08 140315.png

Reply View the author