Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extension MonitorBasedSaveBest leaks memory #1567

Open
burgerdev opened this issue Nov 27, 2015 · 0 comments
Open

extension MonitorBasedSaveBest leaks memory #1567

burgerdev opened this issue Nov 27, 2015 · 0 comments

Comments

@burgerdev
Copy link

The deepcopy part of the train extension MonitorBasedSaveBest has memory leaks: Running an example script I observe ever growing resident set size. Commenting out this line solved the issue, so I guess deepcopy'ing the model has side effects.

RSS growth:

  • without MonitorBasedSaveBest approx. 10kB/epoch
  • with MonitorBasedSaveBest approx. 500kB/epoch

Edit: added workstation specs.

#!/bin/bash
uname -a
pacman -Q python2-theano
pacman -Q python2
pacman -Q cuda
cd ${HOME}/dev/pylearn2 && git rev-parse HEAD
Linux meepo 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 x86_64 GNU/Linux
python2-theano 0.7.0-2
python2 2.7.10-2
cuda 7.5.18-1
fe9beee9b922c97bd8e5dd2ac023e1def229da31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant