Skip to main content
Inspiring
August 20, 2008
Question

Increasing Max Memory

  • August 20, 2008
  • 1 reply
  • 1033 views
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
    This topic has been closed for replies.

    1 reply

    August 21, 2008
    In the ColdFusion administrator you can change the Maximum Size of Post Data in Server Settings > Settings > Request Size Limits. There is a form field named "Maximum Size of Post Data" that I think is defaulted to 100MB.