The default minimum value is 2 MB, and (Web server application)
The default minimum value is 2 MB, and the default maximum value is 64 MB. The letter after the number in the option can be: kor K for kilobytes mor M for megabytes To see a list of other supported JVM options, type java -X on the command line. Assuming that your path is set up correctly for the Java executable, you should see something similar to Figure 17-7. Figure 17-7. Typing java -X displays the options available for the JVM 17.5.5 Using Too Many Remote Calls When accessing remote components such as EJBs from your application, you may find that the overhead of network communication starts to cause performance problems. One thing to look at is the “granularity” of your remote calls. If you find that you are making many calls that retrieve a small amount of information on each page, try bundling a related set of calls into fewer remote invocations. For example, if you are displaying a product list, querying the products, and then requesting the details of each product as separate remote calls, this would be a good candidate for one aggregated call that returns all the product information and details at once. You can also improve the performance of an application that uses remote references by caching the remote reference. See Chapter 13 for more information. 17.5.6 Using Too Many Graphics When a web page contains graphics, they are downloaded separately from the HTML content. Each image may also require and use separate connections. Even when the performance problems are related to images, a user may have the impression that the entire application is slow. Don’t use too many images, and especially stay away from large images. This is one sure way to improve the performance of your application. Appendix A. Changes Since Struts 1.0 There have been many changes to the Struts framework between Versions 1.0 and 1.1. Although the changes were discussed throughout this book, this appendix consolidates the changes and highlights the most important of the new features.
Note: If you are looking for cheap and reliable webhost to host and run your mysql application check mysql web server services.