Jump to content

Solved - OpenG Zlib max file size 2.00 GB?


Recommended Posts

I'm trying to automate the backup of a large number of TDMS files. I've got them sorted out by year and month, but there's usually about 20GB per month (uncompressed). I'm using the OpenG Zip library to do the compression and my first few attempts at a whole folder threw an "error 7" at 2.00 GB. It also leaves the archive in a state that is unusable by Windows.

Not a lot of useful info in the error messages from this library:

Quote

ZLIB Close Write File__ogtk.vi in ZLIB Store File__ogtk.vi->ZLIB Compress Directory__ogtk.vi->Zip TDMS files TEST.vi

Took me a few hours to sort out that if you include an archive name, you can't use the "create new" option. =/

Is this a limitation in the core zip file utility, possibly because it's 32-bit? Has anyone successfully compressed a similar size chunk of files?

Thanks in advance!

LabVIEW 2014 sp1 32-bit

OpenG Zlib 1.2.3

Win7 Pro 64-bit

Edited by Grunkles
Link to comment

Years ago I showed how you could call the 7-zip command line EXE to have it perform functions that are hard of impossible with the native LabVIEW zip, or OpenG.  I suspect that the 64 bit built EXE could perform the compression without any issue and can be called using the System Exec.  Beyond that I'm guessing you already know about TDMS defragging, and how it can save on TDMS file sizes.  After a defrag most of the data will be binary, and won't compress much anyway.  I'd suggest defragging first, and then zipping.  If your size doesn't go down in the zip it might not be worth the extra effort.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.