> I'm trying to increase the allowed memory for CF to > accommodate large file uploads. I've experimented with > various settings, but can't seem to correlate them with the > file size I'm trying. Currently trying to upload a 300Mb > file. Have the following settings in the Java and JVM window: > Maximum JVM Heap Size (MB): 1024; JVM Arguments: -XX:MaxPermSize=384m. > > Upload attempt results in the error: > coldfusion.util.MemorySemaphore$MemoryUnavailableException: > Memory required (300616607 bytes) exceeds the maximum allowed memory. > > Are there other settings, or changes to the above, that will > allow me to perform this upload?
The maximum memory you can allocate on a 32-bit Windows OS is less than 1.5 GB. You should be able to upload the file with 1 GB allocated, but you will need to change the maximum file upload size if you're using CF 8 (I don't remember if that option is in 7, off the top of my head). Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311304 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4