You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Parse doesn't clear fs.chunks after a upload #3161
My client app uploads files to the server. Yesterday my client app was receiving an error 130 when saving a file to the server. I started to investigate and I found there was a collection called fs.chunks with 1 Gb of data, but the collection who stores files only had 50 Mb.
I think fs.chunks uploaded should be deleted after the save process completes successfully, isn't it? Which is the best way to manage this?
The collection fs.chunks is where the files binary saved.And the fs.files collection save same file info.The collection who stores files just store the file names.
Activity
flovilmart commentedon Dec 2, 2016
Not sure about that, but the memory error you mention is real :)
yangkghjh commentedon Dec 12, 2016
The collection fs.chunks is where the files binary saved.And the fs.files collection save same file info.The collection who stores files just store the file names.
hydex86 commentedon Dec 12, 2016
Thanks @yangkghjh , you're right. I close this issue
flovilmart commentedon Dec 12, 2016
@yangkghjh @hydex86 that doesn't explain the memory retention issue, is it in the express middleware then?
hydex86 commentedon Dec 12, 2016
@flovilmart which memory retention issue are you talking about? Not sure if you found anything ese thanks to this :)
flovilmart commentedon Dec 12, 2016
I started to investigate and I found there was a collection called fs.chunks with 1 Gb of data, but the collection who stores files only had 50 Mb.The collection is in the database right? so that's not the process memory but the database?
hydex86 commentedon Dec 12, 2016
As @yangkghjh I was wrong. Data stored in fs.chunks are real files. The collection where I store the PFFiles would be pointers to those fs.chunks.