Websphere/Oracle 11 - 堆使用量比 Oracle 10 更多
在使用 Oracle 11(之前我们使用的是 Oracle 10)测试我们的应用程序时,我们发现我们的服务器使用了更多的堆空间。
看起来它与 T4CConnection/T4CPreparedStatement 有关;已分配 500 个 T4CPreparedStatement 对象。有人告诉我,Oracle 11 使用 SoftReferences 来保留连接池;但我们不需要那个。
这是正确的吗?这可能是堆空间增加的问题吗?如果是,我们如何避免连接池?
多谢!!
while testing our application with Oracle 11 (previously, we had Oracle 10), we saw that our server uses much more heap space.
It seems as it has something to do with T4CConnection/T4CPreparedStatement; there are 500 objects of T4CPreparedStatement allocated. Someone told me, that Oracle 11 is using SoftReferences to keep the connection pool; but we don't need that.
Is that correct? Could that be the problem for the increased heap space? If yes - how can we avoid connection pooling?
Thanks a lot!!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在迁移到 Oracle 11 的过程中,您还升级了哪些内容?
您是否升级了 JDBC 驱动程序?
在WebSphere 中,您是否还更改了与数据源关联的“WebSphere Helper Class”?
这些问题的答案可能与您遇到的问题有关。例如,您是否检查过语句池大小?
During migration to Oracle 11, what else have you upgraded?
Have you upgraded the JDBC driver?
In WebSphere, did you also change the "WebSphere Helper Class" associated with the data source?
The answers to these questions may have something to do with the problem you're experiencing. Have you checked the statement pool size, for example?