看板 EE_DSnP 關於我們 聯絡資訊
有點奇怪的問題 在ref中 cirr -r sim13.aag usage cirr -r sim14.aag usage memory used是12.52M和0.2188M 但如果是 cirr -r sim13.aag usage cirr -r sim13.aag usage cirr -r sim14.aag usage memory used是12.52M, 13.51M, 13.51M // 只有sim14.aag時 memory used為0.1367M 看起來第二個狀況沒有釋放掉記憶體 但不知道為什麼 然後我自己寫的在第一種情況是 memory used只有變少一點點而已 我確定我在replace circuit時 把所有new出來的東西都delete了 不太懂.. -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 111.248.10.97
william7699:同樣問題+1 12/25 10:15
j0214ack:同樣問題+1 memory used 不知道為啥會越來越大 12/25 10:43
j0214ack:但是quit的時候也不會crash.... 12/25 10:49
ric2k1:有時候因為 fragmentation 的關係 memory 會清不乾淨, 12/25 11:57
ric2k1:不過如果你重複的 cirr sim13.aag -rep memory 就不會變了 12/25 11:58
ric2k1:那應該就沒有問題。 12/25 11:58