Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Out of Memory Errors - Caused by UserTransaction?

 
Jon Rocky
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm attempting to research if a recent change in several of our application beans is responsible for a large number of out of memory errors we've been getting.

Approximately 5 of our beans were changed to Bean-Managed transactions, and code was inserted to use a TransactionController utility to get transactions, commit, and rollback.

This was done because these beans access an LDAP store, and we needed rollback capabilities for this, which we did in a seperate class.

However, since the creation of the TransactionController, several of our environments have been reporting Out-of-memory errors occurring. Due to the timing, we're wondering if the UserTransactions have anything to do with it.

Has anyone heard of this happening? Are there memory leak possibilities with UserTransactions?
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, number one: UserTransaction is an interface, and therefore doesn't have an actual implementation to leak memory from! What app server are you using?
 
Jon Rocky
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Websphere 5.1.1
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic