Profiling memory usage in Mathematica

后端 未结 4 1947
囚心锁ツ
囚心锁ツ 2020-12-24 02:57

Is there any way to profile the mathkernel memory usage (down to individual variables) other than paying $$$ for their Eclipse plugin (mathematica workbench, iirc)?

4条回答
  •  时光说笑
    2020-12-24 03:12

    One way is to automatize restarting of kernel when it goes out of memory. You can execute your memory-consuming code in a slave kernel while the master kernel only takes the result of computation and controls memory usage.

提交回复
热议问题