You are viewing a plain text version of this content. The canonical link for it is here.
Posted to devnull@infra.apache.org by "yzhliu (GitHub)" <gi...@apache.org> on 2018/08/22 01:18:29 UTC

[GitHub] [incubator-mxnet] yzhliu commented on pull request #12232: [MXNET-729] Scala Examples memory leak fix

it is better to have the collector inside `runTraining`, like that you do in GanMnist.scala. Otherwise when the # of loop increases, too many ndarrays will be stored temporarily in the collector here.
But if you just mean to get rid of mem leak in CI, then this is fine.

[ Full content available at: https://github.com/apache/incubator-mxnet/pull/12232 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org