最近發現 Tx2 上的 python code 跑一兩天會被 OS killed , 看 log 是 out of memory ...
於是增加 swap 試試
下面是別人寫的 增加 swap 的方法
https://shazi.info/linux-oom-killer-kernel-out-of-memory-killed-問題處理-手動增加動態-swap/
https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-16-04
訂閱:
張貼留言 (Atom)
ChartGPT 學 python 很強喔
ChartGPT 最近很紅 , 前一陣子有一些小 module 本來想 google 一下 語法 但發現用 chartGPT 直接請他給 sample code 反而較快 所以只要你有基本 知識 ChartGPT 可以加速你的開發 好用喔
-
之前安裝樹莓常用軟體 如 anydesk or teamviewr , or pycharm 等 都是自己下載 source compile .. 但遇到了不少坑 , 每次都要花不少時間 如 obs 有時能成功, 但大都失敗 直到昨天看到有人做好了 script 只要執...
-
基本運算 x= 99 print(x) print(x + 1 ) # 加法 print(x - 1 ) # 減法: print(x * 2 ) # 乘法: print(x / 2 ) # 除法: print(x // 2 ) # 整數除法 p...
-
按鈕(Buttons) 是 GUI 中很常用到的元件 按鈕的建置跟上一篇提到很相識, 但多了一個連動的概念以 PyQT 來說就是Signals and Slot (訊號與槽) 葉就是說當我按了一個 Button ( 發射一個訊號) 要執行哪個動作 (到哪個槽) ...
沒有留言:
張貼留言