This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error while read zip file

 
mahavir swami
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have zip file with size above 3GB

and i have an method that will accept file name as argument and return the file from the zip as byte array



for some file i get this exception


i searched on google but could not find proper solution
can you please help
 
mahavir swami
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i get this exception

every time i do new ZipFile("filename"); for file with size = 3GB+
i tried with file with size of 100MB it worked properly

how do solve this , please help
 
mahavir swami
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i was using jdk1.5 for development and was trying to read a zip file with size more than 2GB
and while searching on google i got this bug in jdk1.5 here
this bug is fixed in jdk 1.6 i guess, though i have not tried reading zip files more than 2GB in jdk 1.6
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic