I think my next question belongs here... I did asked question under Java Intermediate Topic. My question is "what will I do if I encountering a "Out of Memory" error message" due to a large size of data size (45mb). They responded with this answer: java -Xms200m -Xmx500m myApplication Now the program(considered as bean) will be called from JSP page. For sure I cant put such command line specifying memory settings. How about this problem? Thanks again.
posted 14 years ago
start your servlet container with the appropriate java command. So you are not assigning this memory directly to the JSP but to the container which handles the JSP objects.