tracker issue : CF-3928294

select a category, or use search below
(searches all categories and all time range)
Title:

Global Memory Limit for In-Memory Virtual FileSystem exceeded messages on createObject / new Query that don't use RAM drive

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/NotABug

Reporter/Name(from Bugbase): Tom Chiverton / Tom Chiverton (Tom Chiverton)

Created: 01/27/2015

Components: File Management, VFS-RAM

Versions: 11.0

Failure Type: Memory Leak

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Major / Some users will encounter

Locale/System: ALL / Linux All

Vote Count: 0

Problem Description:
Intermittent "Global Memory Limit 300 MB for In-Memory Virtual FileSystem exceeded" messages occur on code that doesn't use the RAM disk.
In addition, getVFSMetaData('ram') reports under a megabyte of usage in each of only half a dozen applications.

Steps to Reproduce:
Have CF11 running for a while than use either the built in "var q= new Query(..." or attempt to create insance of own CFC "<cfset tz=createObject("component", "timeZone")>". Neither the called file or the file running hte code is on the RAM disk.

Actual Result:
"The Global Memory Limit 300 MB for In-Memory Virtual FileSystem exceeded ." error

Expected Result:
Object created

Any Workarounds:
Increase the limit in the CF Admin until it begins happening again.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3928294

External Customer Info:
External Company:  
External Customer Name: Tom
External Customer Email:  
External Test Config: CentOS 5.11, CF11 update 3, JVM 1.7.0_71

Attachments:

Comments:

Same application code was fine in CF9 in the same environment. What in createObject() or new Query goes anywhere near the RAM disk ?
Comment by External U.
8779 | January 27, 2015 04:18:32 AM GMT
See also this forum thread from someone with the issue on Windows : https://forums.adobe.com/thread/1549472
Comment by External U.
8780 | January 27, 2015 04:21:31 AM GMT
This happens on windows OS as well.
Comment by External U.
8781 | March 01, 2015 02:19:17 PM GMT
Update 5 seems to have helped this bug, but i may have found another bug. i am writing to the VFS, then including the file i wrote two lines above. I have sanity code inbetween that logs if the file exists and in my logs the file exists, i can (after the request) dump the VFS and my file is indeed listed. But if i try to include it, i get an error with the following: code: vfs.provider/get-last-modified-no-exist.error info: 1 ram:///CMS_FE5/_404.cfm messages: Could not determine the last modified timestamp of "ram:///CMS_FE5/_404.cfm" because it does not exist. If i do a fileExists('/vfs/_404.cfm') it returns true right before the include "ram:///CMS_FE5/_404.cfm" In this code, after i write the file, i check to see if it exists 10 times, and i get 10 true events. It makes no since why this is happening. But again, neither did the global memory limit error.. Tim
Comment by External U.
8782 | June 03, 2015 02:24:38 PM GMT
i may have resolved my latest issue, i removed all the contents of the ColdFusion11\cfusion\wwwroot\WEB-INF\cfclasses\ directory
Comment by External U.
8783 | June 03, 2015 02:48:07 PM GMT
Closing this bug ! As the customer is not facing the issue now.
Comment by Suchika S.
8784 | June 12, 2015 01:23:46 AM GMT