• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CF10 VFS Max Size Limit?

Community Beginner ,
Sep 02, 2013 Sep 02, 2013

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

Views

536

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 16, 2014 Aug 16, 2014

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 17, 2014 Aug 17, 2014

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation