parallel101 / course

高性能并行编程与优化 - 课件
https://space.bilibili.com/263032155
Other
3.62k stars 532 forks source link

10/06/04.cpp 占用内存过多,无法跑 #7

Open GeLee-Q opened 2 years ago

GeLee-Q commented 2 years ago

呜呜呜,太菜勒,完全不知道为啥跑不通。

archibate commented 2 years ago

我只用了0.42+0.23秒?也是32g内存? 这个程序实际只用了256mb才对,我建议不要用wsl试试看。

无法顺畅的大口呼吸,是活着的最好证明

---原始邮件--- 发件人: @.> 发送时间: 2022年3月2日(周三) 下午2:38 收件人: @.>; 抄送: @.***>; 主题: [parallel101/course] 10/06/04.cpp 占用内存过多,无法跑 (Issue #7)

首先是在WSL上跑的,Vemmem把32g内存全部占满勒,就卡住了。

接下来换了台换了个小服务器跑,也是cpu和内存近乎跑满,然后这个程序直接被kill掉了。

呜呜呜,太菜勒,完全不知道为啥跑不通。

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you are subscribed to this thread.Message ID: @.***>