My Oracle Support Banner

Statement Cache 导致 OutOfMemoryError (Doc ID 2334003.1)

Last updated on APRIL 06, 2021

适用于:

Oracle WebLogic Server - 版本 10.3.6 和更高版本
本文档所含信息适用于所有平台

症状

10.3.6 WebLogic上发生OutOfMemoryError (OOME)。

使用MAT查看heap dump文件如下: 

1. JDBC Connection Pool占用近1.8G(93.61%)

 

2.有61个connection pool.

3. 查询连接发现 stmtCache(preparedStatement)占用最多heap。

4. 查询PreparedStatement发现它占用了将近1.8G的heap。

 

原因

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


文档内容
症状
原因
解决方案

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.