• Downloading .zip larger than 2GB only DLs 2GB

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #44851  by omnicron
 
I have a 7 GB .zip file in the repository that I want to download. It shows the proper file size in the webpage but does not download past 2GB. As soon as the HTTP transfer starts, it says the file is only 2GB and does not download more.

I changed the max.file.size from 0 (zero) to 10gb to make sure.

OPENkm 6.3.0

Debian jessie/sid 64 bit 17gb ram

Is there a limit in Tomcat I am missing?

Thanks
 #44867  by jllort
 
No it's a bug, we have solved this bug in the professional edition, we should test latest source code in the community.

The issue is caused by the InpustStream -> is.available() returns an integer what is limited to 2GB and must change some section in the source code to get the real size ( in the response is sended the size of the document and using the method I described before is never larger than 2GB ).

Can you please add an issue here https://github.com/openkm/document-management-system

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.