ground-db icon indicating copy to clipboard operation
ground-db copied to clipboard

GroundDB on Meteor Unable to handle file size >= 5MB

Open summer0nguyen opened this issue 8 years ago • 4 comments

Hello, I'm using GroundDB for my Meteor project. Everything works fine with small data .

The problem occurs when I upload a file with size >= 5MB in an object with a base64 field , something like : image

This object disappears without any notification .

I think that It was caused by Storage Limit 5MB . I found that GroundDB also supports indexDB which is stored in temporary storage that can be increased .

Could you tell me how can I use IndexDB for this purpose. Thank you

summer0nguyen avatar May 30 '17 16:05 summer0nguyen

using v2 it should actually select the best storage possible on the client - you can inspect the storage in devtools ressources. You might also be able to inspect the storage entity on a ground db instance to see what type of storage it's using. (on cordova I tried to have it use sqlite but the plugin did not work accordingly)

raix avatar May 30 '17 17:05 raix

Dear @raix , Thank you for your reply.

Acording to : https://atmospherejs.com/ground/db ,

image

What do you mean v2 means in these above versions :D I installed the latest one : 0.3.15 but it doesn't work either :( Thank you

summer0nguyen avatar May 30 '17 17:05 summer0nguyen

you can fix the version to 2.0.0-rc.7 thats the latest - but it's different from 0.3 in several ways (hopefully for the better - I'll see if I get some time soon to get it out of rc)

raix avatar Jun 02 '17 19:06 raix

Dear @raix , I appreciated your work .

summer0nguyen avatar Jun 03 '17 16:06 summer0nguyen