Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
This is why i hate this forum people get no response to questions!!
Ronnie, did you find a solution to your question?
Copy link to clipboard
Copied
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#">