I have no experience doing this, but I have a thought... I believe
programs like WinZip can be run from the command line.  You could use
cfexecute to have an external app do the work for you.

~Brad

-----Original Message-----
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 27, 2008 5:11 PM
To: CF-Talk
Subject: How to unGZip very large archives via CF?

I'm running into Java out of memory problems when I try to use the java
unzipping support (gzipExpandToString) for some files that I download
via a webservice.  CFHTTP saves the file to disk for me, but then when I
unzip them, the large ones cause memroy problems.  I've configured the
max heap size to be 1380, which is the max that I've usually been able
to set it to.  

Anyone have a lead on code that I can use in CF that doesn't try to
store the entire unGZipped content in memory?  

I'm probably postponing the eventual problem, because I'm going to need
to run the content through xmlPARSE, but if I can at least get it
unGZipped into a file, maybe I can get SQL to do the XML heavy lifting
for me.

thanks
Reed 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302221
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to