Hi all Ranchers,
This is my first post in this forum. I have a big performance issue in my System. Here is the description:-
Based ion some parameters call is send to the server and then to DB, All the data is fetched in the resultset and is given to the customized Iterator Object. This data is then given to a component which can render data in the tabular format, just like the way it is in the main page of this forum.
Id Name Description Other_Information --- --- ---
and down at the bottom there is a scope of pagination just like this
1 2 3 4 5 6 7 8 9 10 next previous First Last
Now the issue is data set can go upto a million records and we are getting the whole lot of data from the DB in one go. Secondly the framework to render data in the Tabular format, renders each cell as an object either a custom Object or
String or Date etc
And most of the time we run into
Java Out of Memory exception
Can you people please suggest something on this.
Is there any solution related to Caching the data
How to implement pagination in Performance effective way
Is there anything that can be done about the rendering framework something like to render data in some basic data types and not in Custom objects.
Please suggest on this ASAP
Thanks in Advance
Nishant