tracker issue : CF-3043037

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

Bug 85736:Loop calling function that calls a module produces OOM error

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/

Reporter/Name(from Bugbase): / Matthew Lesko (orangepips)

Created: 01/07/2011

Components: Language, Functions

Versions: 9.0.1

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Major / Unknown

Locale/System: English / Win All

Vote Count: 3

Duplicate ID:	CF-3043102

Problem:

Loop calling function that calls a module produces OOM error. Appears that each memory allocation for the module is never released until the request ends. Only this combination produces the error. 
Method:

See this stackoverflow question for a code that reproduces the error because I'm not reproducing here as this Flash based tracker is awful: http://stackoverflow.com/questions/4628060/memory-leak-looping-cfmodule-inside-cffunction
Result:

java.lang.OutOfMemoryError: Java heap spaceat java.util.Arrays.copyOf(Arrays.java:2882)at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390)at java.lang.StringBuilder.append(StringBuilder.java:119)at coldfusion.runtime.RuntimeServiceImpl.mapVirtualToReal(RuntimeServiceImpl.java:1042)at coldfusion.runtime.RuntimeServiceImpl.getRealPath(RuntimeServiceImpl.java:957)at coldfusion.filter.FusionContext.getRealPath(FusionContext.java:759)at coldfusion.runtime.RuntimeServiceImpl.resolveTemplatePath(RuntimeServiceImpl.java:751)at coldfusion.tagext.lang.ModuleTag.setTemplate(ModuleTag.java:152)

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

Watson Bug ID:	3043037

External Customer Info:
External Company:  
External Customer Name: Matthew Lesko
External Customer Email: 4AA7507C445A5477992016B6
External Test Config: 01/07/2011

Attachments:

Comments: