tracker issue : CF-3119176

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

Java Heap error on large memory objects

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Tami Burke / Tami Burke (Tami KB)

Created: 02/21/2012

Components: Performance

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: Beta / 281656

Priority/Frequency: Major / Most users will encounter

Locale/System: English / Win XP SP3

Vote Count: 0

Problem Description:
Prerelease Bug 3108123?

Memory Java Heap error

Steps to Reproduce:  run script that creates an manipulates large arrays (multiple browsers will force error earlier).  Script to calculate prime numbers used to test attached. Testing around array size created. Arrays of less than 10,000,000 work ok, add more, or run on multiple browsers, and error gets thrown.

Occurs regardless of client variable setting.

Also get thrown when cfdumping large memory variables.

Actual Result:
File aborts w/ no error, but exception log reads:

 Exception Error:
"Error","ajp-bio-8012-exec-1","02/18/12","23:04:32",,"Java heap space 
2 	java.lang.OutOfMemoryError: Java heap space
3 	at java.util.Arrays.copyOf(
4 	at java.util.Arrays.copyOf(
5 	at java.util.Vector.ensureCapacityHelper( 

Expected Result: run to completion. Works in CF9 -- tested on arrays up to 50,000,000 run on multiple browsers simultaneously

Any Workarounds: Reduce variable/array size, or number of browsers running script at one time.

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

Watson Bug ID:	3119176

External Customer Info:
External Company:  
External Customer Name: Tami KB
External Customer Email:  
External Test Config: My Hardware and Environment details:

XP Pro SP3, IIS w/ 2G total RAM. Running remotely from another workstation to keep memory used by browsers reduced. CF looks to use between 300M-600M.


  1. February 21, 2012 00:00:00: 1_primes1.cfm


testcase from bug CF-3108123 \\\Prereleasebugfiles\ColdFusion\10.0\Beta\CF-3108123\index.cfm
Comment by Kunal S.
20711 | February 22, 2012 02:27:03 AM GMT
Moving to needs review as discussed with Chandan
Comment by Kunal S.
20712 | February 22, 2012 02:30:35 AM GMT