This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes Displaytag Performance issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Displaytag Performance issue" Watch "Displaytag Performance issue" New topic

Displaytag Performance issue

Mohammed Yousuff
Ranch Hand

Joined: Oct 17, 2007
Posts: 198
When we are using display tag it loads all the data in the DB to a collection and it show whenever the page was clicked. It works perfectly as of now. However when the data grows it will cause Memory Out Of bound Exception in the application (because we expected more than 50 lacks data will be generated).

So, we came up with external a sorting option which is available in displaytag 1.1 and we are only using displaytag 1.0. Can you please advise me is there any way to solve this problem in displaytag 1.0 itself .

Please let me also know some of the example codes to get a better idea
Thanks a lot for your help


Mohammed Yousuff

My Thoughts :
Try not to become a man of success but rather to become a man of value.
steve souza
Ranch Hand

Joined: Jun 26, 2002
Posts: 862
I don't know displaytag, but most people will say regardless of the tool 50000 elements should never be brought down to the browser. Find a way to better deliver what they user wants. For example ajax could be used to implement a type ahead feature. - a fast, free open source performance tuning api.
JavaRanch Performance FAQ
I agree. Here's the link:
subject: Displaytag Performance issue
It's not a secret anymore!