Skip to main content
Participant
September 3, 2013
Question

CF10 VFS Max Size Limit?

  • September 3, 2013
  • 2 replies
  • 586 views

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

This topic has been closed for replies.

2 replies

BKBK
Community Expert
Community Expert
August 17, 2014

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#">

Inspiring
August 17, 2014

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

Ronnie, did you find a solution to your question?