Open prashanthca opened 9 years ago
The script loads all content to upload into memory, so if you want to upload a lot of data, memory quota will be exceeded.
I think it makes sense to rewrite uploading procedure to avoid buffering of the data, but I am not sure that it is possible.
Please let me know if you found another solution.
Trying to use this sdk on heroku, where the memory limit is 512 MB on free dynos. Getting this error in the logs. The first few lines are application metrics, which indicate the memory usage, and the last two lines are the errors.
What I'm basically trying to do in my app is download a file from a remote server and upload it to MEGA. This error occurs after the uploading starts. I've used memwatch to check for memory leaks, but there aren't any. I'm not sure how to approach this problem since I'm new to node.js. Would appreciate any help on this. Thanks in advance.