jessebrizzi commented on issue #10867: Scala Module API resize is leaking 
memory on the native size. 
URL: 
https://github.com/apache/incubator-mxnet/issues/10867#issuecomment-458329624
 
 
   Updated https://github.com/jessebrizzi/MXNet-Bug to support testing with the 
released MXNet 1.3.1, 1.4.0-SNAPSHOT, and 1.5.0-SNAPSHOT
   
   The bug exisist in 1.3.1 (this was already known), running 
https://github.com/jessebrizzi/MXNet-Bug/blob/master/scala/TestBug.scala for 
10000 forward passes of random input resizes leads to over of 6gb of system 
memory used and climbing when using the GPU.
   Htop attributes the memory usesge to the java/sbt process but JVMTop does 
not show this usage in the Heap inside the JVM (The defualt heapmax is not that 
large reguardless).
   
   Both 1.4.0-SNAPSHOT and 1.5.0-SNAPSHOT can not finish the 10000 forward pass 
random resize test as they crash/freeze as describe in my previous comment. 
   
   for all versions the 
https://github.com/jessebrizzi/MXNet-Bug/blob/master/scala/TestNoBug.scala test 
runs fine with only 1.8ish GB of mem used on my machine (no random resizes on 
the input).
   
   The dockerfile/README in my bug repo 
https://github.com/jessebrizzi/MXNet-Bug has the needed instructions if someone 
wants to try and repoduce my observations.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to