djaym7 commented on issue #1432:
URL: 
https://github.com/apache/incubator-mxnet/issues/1432#issuecomment-755791934


   self.clear_gpu()
   del self.net,train_loader,val_loader,train_dataset,val_dataset
   gc.collect()
   
   There still remains ~2gb memory occupied in gpu which is only cleared after 
restarting/killing the kernel/process without which the memory keeps increasing 
till there is None left after every iteration.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to