I believe the tuning would occur on your app container and not in Struts 2.
Best, Muneer Malik On Oct 19, 2011, at 9:28 AM, <karthick.gunaseka...@wipro.com> wrote: > Can we do any application lever tuning in struts 2? > > > -----Original Message----- > From: Robert Graf-Waczenski [mailto:r...@lsoft.com] > Sent: Wednesday, October 19, 2011 7:25 AM > To: Struts Users Mailing List > Subject: Re: Struts2 Memory Management > > Am 19.10.2011 16:16, schrieb dan.zheng: >> So many objects dump directly to jsp will certainly consume a lot > memory,I >> suppose you can enlarge your Web Server's jvm memory size to afford > your >> requirement >> such as "-Xms 1024m -Xmx 1024m",more details can come from google "jvm >> tuning" > > What do you mean by "dump directly to jsp"? Struts2 custom tags are > ultimately calling your action class methods to (for example) access an > action property in the form of an instance of an iterator-like class. > Exactly *how* the data is maintained internally is completely left to > the implementation of *your* class, the framework itself uses proper > abstraction. In short: Memory issues are *your fault* not Struts2's. > > Robert > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > Please do not print this email unless it is absolutely necessary. > > The information contained in this electronic message and any attachments to > this message are intended for the exclusive use of the addressee(s) and may > contain proprietary, confidential or privileged information. If you are not > the intended recipient, you should not disseminate, distribute or copy this > e-mail. Please notify the sender immediately and destroy all copies of this > message and any attachments. > > WARNING: Computer viruses can be transmitted via email. The recipient should > check this email and any attachments for the presence of viruses. The company > accepts no liability for any damage caused by any virus transmitted by this > email. > > www.wipro.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org