Java Heap error on large memory objects| View in Tracker
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(Arrays.java:2760) 4 at java.util.Arrays.copyOf(Arrays.java:2734) 5 at java.util.Vector.ensureCapacityHelper(Vector.java:226) 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.
- February 21, 2012 00:00:00: 1_primes1.cfm