Skip to content

Memory allocated while archiving a file to NAS is not getting released until the app restart #63

Description

@malleswariklv

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions