Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Adjusting Memory JVM in JSP  RSS feed

 
Nelson Nadal
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!