Hi all, I have written my jsp using <display:table>
to display search results. The <display:table>
requires a javabean list to be passed in as an argument. Currently a controller will build the list, then the jsp displays it.
My concern is that what happen if 1000 users perform search at a time. That means all results will need to be loaded to memory as different javabean lists for <display:table>
to display. The system will possibly crash because of running out of memory. Is there good strategies to prevent the system running out of memory? Is there a way in application level to limit the number of users to load the application? Would it mean using <display:table>
is a bad programming practice since all records have to be loaded into memory at once? Thanks in advance.