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

Memory error for when the number of files greater than 12 #4

Open
nakohli opened this issue Mar 15, 2015 · 2 comments
Open

Memory error for when the number of files greater than 12 #4

nakohli opened this issue Mar 15, 2015 · 2 comments
Labels

Comments

@nakohli
Copy link

nakohli commented Mar 15, 2015

Hi,

I have a file which contains readings from pytribe for more than 20 images. However, when I use the analyzer for doing the analysis, I get an error after the 12th one. The issue is with opening too many handles for the figures when its saving it.

It can easily be handled by splitting the files into two and doing the analysis but I just wanted to notify you regarding the error.

Thanks

@nakohli
Copy link
Author

nakohli commented Mar 20, 2015

Setting fig.clf() and pyplot.close() in the draw methods of gazeplotter seems to have cleared the issue.

@esdalmaijer
Copy link
Owner

Thanks for looking into this. How much of an issue this is, should be a matter of your PCs specs. Also note that the plotting functions are designed to return handles to the Figure and Axes that were produced by the functions. This could be useful for further editing, but also means you will have to actively close them (e.g. by calling matplotlib.close(fig)).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants