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

Unlinking a video file but memory footprint for app does not change. #41

Closed
shiba4life opened this issue Jan 14, 2016 · 4 comments
Closed

Comments

@shiba4life
Copy link

I'm saving a video to a temporary local directory. Once I'm done, I unlink the file which appears to succeed but the memory footprint of the app remains unchanged as if the file was not removed.

@johanneslumpe
Copy link
Collaborator

Have you tried running your app in the simulator and inspecting the local storage directory to see whether the file actually has been removed? Is this iOs or Android related?

@shiba4life
Copy link
Author

I'm not able to test it on the simulator since I'm recording the videos via the device. Instead, I'm testing it directly on my iPhone. The 'FILE DELETED' message shows up but when I check on my phone's storage settings, the memory size hasn't decreased. Is there something else I need to do to relinquish the memory from the OS's point of view?

@johanneslumpe
Copy link
Collaborator

Oh you are recording a video using the camera? Then your issue could be related to this:

#34

Files in the asset library cannot be removed like a normal file.

@shiba4life
Copy link
Author

Ah, interesting. I'm using react-native-screcorder. I'll check over there to see if there's a solution. Thanks!

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