You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a CSV file of size 15GB with a row count of 500k. When I use ruby zip to make it zip it will create a file with a size of 2.83 GB. and when I extract this file it contains only 87k with size 2.5 GB.
rubyzip version 1.3.0 I also tried with 2.3.0 and it did not work
zip_file = "myfile.zip"
Zip::File.open(zip_file, Zip::File::CREATE) do |zipfile|
Dir.glob("/15gb.csv").each do |csv_file_path|
csv_file_name = csv_file_path.split('/').last
zipfile.add(csv_file_name, csv_file_path)
end
end
The text was updated successfully, but these errors were encountered:
I have a CSV file of size 15GB with a row count of 500k. When I use ruby zip to make it zip it will create a file with a size of 2.83 GB. and when I extract this file it contains only 87k with size 2.5 GB.
rubyzip version 1.3.0 I also tried with 2.3.0 and it did not work
The text was updated successfully, but these errors were encountered: