This week's book giveaway is in the HTML Pages with CSS and JavaScript forum.
We're giving away four copies of Testing JavaScript Applications and have Lucas da Costa on-line!
See this thread for details.
Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Out of Memory Errors - Caused by UserTransaction?

 
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?
 
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
 
We're being followed by intergalactic spies! Quick! Take this tiny ad!
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic