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

resources of SWP don't be released #284

Open
zerojuzi opened this issue Dec 26, 2019 · 3 comments
Open

resources of SWP don't be released #284

zerojuzi opened this issue Dec 26, 2019 · 3 comments

Comments

@zerojuzi
Copy link

I notice resources of SWP don't be released after simpledet training, especially on large data sets training, resources of SWP are full, I must be used swapoff -a and swapon -a to solve the problem. I want to which is bug of mxnet or simpledet? and may you help me solve the problem, thank you very much.

@RogerChern
Copy link
Collaborator

I think it is neither the problem of MXNet nor SimpleDet. The swap is managed by the kernel and should not be used during normal training. If you find yourself running low of free memory, you can reduce the number of loader_worker by adding loader_workder = 1 under the General config class.

@zerojuzi
Copy link
Author

zerojuzi commented Jan 2, 2020

I used 'free -g' notice buff/cache progressively increase during training when I adding loader_workder = 1 , and free progressively reduce,finally it become 0, so SWP resources begin to be used. I want to know what information is kept in the cache, and can I clear this information. thank you very much. @RogerChern

@RogerChern
Copy link
Collaborator

RogerChern commented Jan 2, 2020 via email

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

2 participants