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

Running library leaves lots of temporary directories #34

Closed
nkrot opened this issue Oct 19, 2018 · 3 comments
Closed

Running library leaves lots of temporary directories #34

nkrot opened this issue Oct 19, 2018 · 3 comments
Labels

Comments

@nkrot
Copy link

nkrot commented Oct 19, 2018

I have been learning how to use this library (have certain interest in Binormal Separation) and when running tests with the command:

pyhton3 setup.py test

I noticed that there are lots of tmp directories created that are not deleted afterwards. Would it be possible to implement automatic cleanup in the library itself?

I am using Python 3.4.2

@Kensuke-Mitsuzawa
Copy link
Owner

@nkrot Thanks for your making the issue. Yes, as you say, this package creates usually tmp files because the amounts of data(matrix size) sometimes give pressure to memory.
And, as you say, the package does not delete tmp files. This is kind of my bad. Still, the tmp files are created in /tmp directory. Therefore, I believe, OS deletes tmp files automatically some day.

Hm...I should delete tmp files. Thanks! I do it in next version.

@Kensuke-Mitsuzawa
Copy link
Owner

@nkrot
Copy link
Author

nkrot commented Oct 26, 2018

Hi @Kensuke-Mitsuzawa,
Thanks for quick reaction! The fix however solves the problem partially. I added another issue, #38.

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