I wrote my jsp using <display:table>to display search results. The parameter <display:table>requires passing a javabean list as an argument. Currently, the controller will create a list, then jsp will display it.
My concern is what happens if 1000 users search at a time. This means that all results must be loaded into memory as different javabean lists <display:table>for display. The system may crash due to out of memory. Are there any good strategies to prevent running out of memory on your system? Is there an application-level way to limit the number of users to download an application? Would this mean that use <display:table>is a bad programming practice, since all records must be loaded into memory right away? Thanks in advance.
source
share