用pycharm编译器运行深度强化学习程序,出现out of memory ,WTF???我电脑可是16G内存啊~,这点程序就能跑蹦了?

Pycharm: out of memory 的解决方案(亲测没问题)

电脑配置图:

Pycharm: out of memory 的解决方案(亲测没问题)

运行时候内存占用情况:

Pycharm: out of memory 的解决方案(亲测没问题)

先设置2048M试试:

Pycharm: out of memory 的解决方案(亲测没问题)Pycharm: out of memory 的解决方案(亲测没问题)

Pycharm: out of memory 的解决方案(亲测没问题)
查看刚才修改的,然后继续运行程序看是否还会出来这个问题。

果然,光修改这个是没用的,还需要一个步骤:

File => settings

Pycharm: out of memory 的解决方案(亲测没问题)

Pycharm: out of memory 的解决方案(亲测没问题)

打开内存监视,发现只修改那个配置文件不行,还需要清除缓存重置下:

File =>

Pycharm: out of memory 的解决方案(亲测没问题)

Pycharm: out of memory 的解决方案(亲测没问题)

选择第一个选项,重启后正常显示:

Pycharm: out of memory 的解决方案(亲测没问题)

 

----------------------------------------------------------------

 

 

欢迎大家转载我的文章。

转载请注明:转自 抚琴弹出情调零  vx:qiang250571870

相关文章:

  • 2022-12-23
  • 2021-10-30
  • 2021-12-05
  • 2022-12-23
  • 2022-12-23
  • 2021-10-29
  • 2021-10-18
  • 2021-08-09
猜你喜欢
  • 2022-01-16
  • 2021-12-09
  • 2021-07-23
  • 1970-01-01
  • 2021-10-28
  • 2022-03-02
  • 2022-12-23
相关资源
相似解决方案