Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
SimoneBuzzi
9 years agoExplorer | Level 4
Out of memory with java sdk during uploading (unlimited upload buffer)
Hi,
I'm tring to use the java sdk to move file from pc to dropbox space.
I've written a method that upload file without problem while they are sufficently small (50MB), but generate a java.la...
SimoneBuzzi
9 years agoExplorer | Level 4
Thank you for your help.
I've created a method that analyzes the file and decides which method to use.
I think that create a single method that implement this logic could be usefull also for other.
Do you see any limitation to this approach?
I've created a method that analyzes the file and decides which method to use.
I think that create a single method that implement this logic could be usefull also for other.
Do you see any limitation to this approach?
Greg-DB
Dropbox Community Moderator
9 years agoProgrammatically checking the file size to determine which style of uploading to use if a good practice. The example does that here:
https://github.com/dropbox/dropbox-sdk-java/blob/master/examples/upload-file/src/main/java/com/dropbox/core/examples/upload_file/Main.java#L270
https://github.com/dropbox/dropbox-sdk-java/blob/master/examples/upload-file/src/main/java/com/dropbox/core/examples/upload_file/Main.java#L270
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!