|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
Increasing Max Memory
Author: Brian Kotek
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:57345#311638
Just a note to be careful with this. Each upload is going to use up a CF
thread for the entire duration of the upload, which means that if you have
10 threads allocated to CF and 10 people upload large files, you've used up
all of your CF threads for quite a long time.
> Thanks for the ideas. It appears the Request Throttle Memory setting was
> the limiting factor. Once upped, I can successfully upload files to that
> limit.
>
> Steve
Author: Steve Moore
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:57345#311634
Thanks for the ideas. It appears the Request Throttle Memory setting was the
limiting factor. Once upped, I can successfully upload files to that limit.
Steve
Author: Brad Wood
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:57345#311305
Yeah, the setting was part of 7.
Steve, to clarify, log into your ColdFusion Administrator for that server.
Click on the "Settings" menu under "Server Settings"
There should be two settings in there that might affect you:
Near the top of the page there is a setting called "Maximum size of post
data" Change the number in the text input to be as large or larger than
what you are trying to upload.
Also, check out the "Request Throttle Memory" setting at the bottom of the
page.
~Brad
Author: Dave Watts
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:57345#311304
----- Excess quoted text cut - see Original Post for more -----
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!
Author: Kelly
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:57345#311303
In CFAdmin if you go to Settings and scroll down to Request Size Limits,
what are your settings there?
I believe the Maximum Size of Post Data would need to be at least 300Mb.
Kelly
Steve Moore wrote:
----- Excess quoted text cut - see Original Post for more -----
Author: Steve Moore
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:57345#311302
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?
Steve Moore
Larimer County Colorado
|
May 24, 2012
|
Latest Fusion Authority Articles
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||