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 allocated while archiving a file to NAS is not getting released until the app restart #63

Open
malleswariklv opened this issue Mar 28, 2018 · 0 comments

Comments

@malleswariklv
Copy link

Hi,
We are using TOSMBClient in our project to archive the videos/images to NAS. If our app has a video having a size of 1GB then we could see the increase in available memory after deleting the video file. But, if we archive the same file to NAS and then delete the file then we could not see increase in available memory until we restart the app.

Note: We are reading the available memory through code snippet let freeSpace = (systemAttributes[FileAttributeKey.systemFreeSize] as? NSNumber)?.doubleValue.

Is it because of transferred buffers are still held by the app? Is there any way to release these buffers?

Thanks in advance,
Malleswari.

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