2 Replies Latest reply on Aug 17, 2014 6:45 AM by BKBK

    CF10 VFS Max Size Limit?

    AustinValley

      It there a maximum amount of Ram that can be allocated the the virtual file system?  When I specify more than 1 GB size, the system returns a negative number for the remaining free space, and any attempt to store a file resuts in storage limit exceeded errors.

       

      I've been unable to locate much detail about the VFS configuration via web searches.  Any details are appreciated.

       

      Ronnie

        • 1. Re: CF10 VFS Max Size Limit?
          chewymole

          This is why i hate this forum people get no response to questions!!

           

          Ronnie, did you find a solution to your question?

          • 2. Re: CF10 VFS Max Size Limit?
            BKBK Adobe Community Professional & MVP

            AustinValley wrote:

             

            It there a maximum amount of Ram that can be allocated the the virtual file system?  When I specify more than 1 GB size, the system returns a negative number for the remaining free space, and any attempt to store a file resuts in storage limit exceeded errors.

            Well, you will also get that when you have $25 in your pocket, but spend $32. It is easy to find out how much memory you have. Search for Coldfusion java.lang.Runtime on the web. You will find something like

             

            <cfscript>

              rt = CreateObject("java","java.lang.Runtime").getRuntime();

              memory = StructNew();

              memory.freeAllocated = rt.freeMemory() / 1024^2;

              memory.total = rt.totalMemory() / 1024^2;

              memory.max = rt.maxMemory() / 1024^2;

              memory.used = memory.total - memory.freeAllocated;

              memory.freeTotal = memory.max - memory.total + memory.freeAllocated;

              memory.heapMemory = memory.used;

            </cfscript>

             

            <cfdump label="Memory in MB" var="#memory#">