21 Replies Latest reply: Apr 4, 2015 8:14 AM by mtnhomes RSS

    CF11 VFS error: The Global Memory Limit 1000 MB for In-Memory Virtual FileSystem exceeded .

    chewymole

      Greetings,

       

      I have a fresh install of CF11 standard on Windows 8 server 64x

      16GB of ram

       

      JVM settings:

      -server -Xmn1024m -Xss1024k -XX:PermSize=256m -XX:MaxPermSize=2048m -XX:+UseParallelGC -Xbatch -Dcoldfusion.home={application.home} -Duser.language=en -Dcoldfusion.rootDir={application.home} -Dcoldfusion.libPath={application.home}/lib -Dorg.apache.coyote.USE_CUSTOM_STATUS_MSG_IN_HEADER=true -Dcoldfusion.jsafe.defaultalgo=FIPS186Random

       

      Min Heap: 2048mb, Max Heap 6144mb

       

      VFS settings:

      Global memory limit for VFS: 1000mb

      Memory Limit per Application for VFS: 400mb


      Currently CF is using 1.7GB of ram


      I have a 6 applications on this server. 1 of which makes use of the VFS.

      The others are simple cfm applications that have NOTHING to do with the VFS system.


      I have a scheduled task that calls simple cfm pages to update tables in our database. When these tasks run, i get a global error email (ones i have setup if a cf error happens) and the gist of the error is

       

      Browser

      CFSCHEDULE

      DateTime

      {ts '2014-08-16 15:07:00'}

      Diagnostics

      The Global Memory Limit 1000 MB for In-Memory Virtual FileSystem exceeded . <br>Increase the VFS memory limit in ColdFusion Administrator. <br>The error occurred on line 17.

      GeneratedContent

      [empty string]

      HTTPReferer

      [empty string]

      Mailto

      [empty string]

      Message

      The Global Memory Limit 1000 MB for In-Memory Virtual FileSystem exceeded .

      QueryString

      [empty string]

      RemoteAddress

      xxx.xxx.xxx.xxx

       

      I have a utility i can run to view all the files in the VFS. and there is currently a total of 8 cfm files there that make up 4064KB of space within the VFS.

       

      The 1 application that actually uses the VFS has several functions. One of which basically writes out CFM files and then includes the cfm as a content variable and returns the variable.

      Under CF9 we were also deleting the ram drive CFM files after including them. But under CF11 this fails with an error saying the modified date could not be found. I have since removed the delete file part and the system works but we get this out of memory error with the VFS.

       

      Can someone shed some light on this for me?

      It makes no since.

       

      Thanks