paddle加载模型过程出现内存分配不足的情况
经研究发现,在jupyter notebook可以正常执行,pycharm中出现内存不足的情况
通过配置pycharm内存,即可正常解决
- Help->Find Action->(type “VM Options”)->(Click)"
- Edit Custom VM Options" Pycharm (2016.2) will open the appropriate vmoptions file (pycharm.vmoptions or pycharm64.options) in the editor before you.
- Change -Xmx750m to -Xmx1024m, or whatever size you want. Save it.
- Restart Pycharm (File->Exit etc.)



