• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Out of Memory Errors - Caused by UserTransaction?

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Websphere 5.1.1
 
Bring out your dead! Or a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic