aspose file tools
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 Elasticsearch in Action this week in the Big Data 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: 861
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
It is sorta covered in the JavaRanch Style Guide.
subject: Displaytag Performance issue