Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to read database continously?

 
Joseph Bashir
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am builing an auction website using Struts framework. I need to update data in the database and retrieve data from database continously in order to update the satatus of items (i.e., which items have reached the closing date/time, which bidder have won the bid etc...).

I have written a class for this which does the above mentioned job. Each time any page is accessed on my website this class is called first. This result in java.lang.OutOfMemoryError. Below is the detail of this error:


Please help me to resolve this issue.


Joseph Bashir
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic