vsivsi / meteor-file-collection

Extends Meteor Collections to handle file data using MongoDB gridFS.
http://atmospherejs.com/vsivsi/file-collection
Other
159 stars 37 forks source link

Big files #156

Closed humbertocruz closed 7 years ago

humbertocruz commented 7 years ago

Hello, I have about 80 images files with +- 600kb in size on a collection. Tried to show it paged on 10/10 but the things got bad. All app acts crazy, not found any record from others collections and the machine getting slow. This end up with meteor freezing with a mongodb task that cant close even with "sudo kill", had to restart the computer.

What is the problem here ? a colection with 80 records can't be so big. This may occur by the browser loading the src of the images from the GET URL ?

I will try a image resize solution on the server side with GM but I havent much time, need to show the app for the client tomorrow :(

thanks

vsivsi commented 7 years ago

Did you solve this problem? The server side shouldn't freeze even with a million files! I recommend you try out the sample apps if you haven't already. I just verified that there are no obvious performance issues with the latest Meteor version.

humbertocruz commented 7 years ago

Hello, yes, but I really do no know what was. I broke the code into small pieces and fixed some publications issues. Thanks

vsivsi commented 7 years ago

Thanks for replying. Did this issue need to be reopened then? Doesn't seem like there is anything more for me to do here.

humbertocruz commented 7 years ago

Hello, thanks. You package is amazing and did a very nice job. I can't reproduce that behavior too. I am very woorried about a deadline this week, thanks god all got right fast. I think the problem was about my publications and not about the package it self. Thanks

vsivsi commented 7 years ago

Okay, thanks for following up. Best of luck with your project!