Memory Leak issue "macromedia.util.UtilPagedTempBuffer"
For the past couple of weeks, I've been working on a memory leak on one of our servers.
The application runs a lot of heavy querys and ajax stuff. After about 12 hours or so, the
heap grows up to the max size, then the server starts to grind to a halt with GC overhead
limit exceeded errors and it has to be restarted.
The server is running win 2003, cf 8.01 with the latest hotfixes and and MS SQL Server 2005.
I've run a heap dump through Eclipse MAT and it came up with the following leak suspects.
Problem Suspect 1
7,500 instances of "macromedia.util.UtilPagedTempBuffer", loaded by
"coldfusion.bootstrap.BootstrapClassLoader @ 0x10b56120" occupy 351,566,904 (42.45%) bytes.
Keywords
macromedia.util.UtilPagedTempBuffer
coldfusion.bootstrap.BootstrapClassLoader @ 0x10b56120
Problem Suspect 2
14 instances of "macromedia.jdbc.base.BaseWarnings", loaded by
"coldfusion.bootstrap.BootstrapClassLoader @ 0x10b56120" occupy 294,957,568 (35.61%) bytes.
Biggest instances:
macromedia.jdbc.base.BaseWarnings @ 0x1d785958 - 80,087,248 (9.67%) bytes.
macromedia.jdbc.base.BaseWarnings @ 0x11fa03b8 - 63,612,424 (7.68%) bytes.
macromedia.jdbc.base.BaseWarnings @ 0x110df0f8 - 63,214,312 (7.63%) bytes.
macromedia.jdbc.base.BaseWarnings @ 0x2da73540 - 40,891,344 (4.94%) bytes.
macromedia.jdbc.base.BaseWarnings @ 0x11095ca0 - 17,197,352 (2.08%) bytes.
macromedia.jdbc.base.BaseWarnings @ 0x2a40aba8 - 12,229,040 (1.48%) bytes.
Keywords
coldfusion.bootstrap.BootstrapClassLoader @ 0x10b56120
macromedia.jdbc.base.BaseWarnings
Problem Suspect 3
1,050 instances of "macromedia.jdbc.base.BasePreparedStatement", loaded by
"coldfusion.bootstrap.BootstrapClassLoader @ 0x10b56120" occupy 121,908,464 (14.72%) bytes.
Keywords
macromedia.jdbc.base.BasePreparedStatement
coldfusion.bootstrap.BootstrapClassLoader @ 0x10b56120
I think these have something to do with querys and SQL but i can't pinpoint
the cause as of yet. If anybody has some insight on what my next step would
be then it would be much appreciated.
