我收藏的链接(23)
- 【原创】Hibernate 和 memcached 的集成问题 -- Java自由人
- hibernate-memcached - Google Code
- spymemcached - Google Code
- memcached client客户端
- Struts 2 - Welcome
- /var/log/mind » Performance Comparison - C++ / Java / Python / Ruby/ Jython / JRuby / Groovy
- 各种语言性能比较
- Enterprise Java Community: Scaling Your Java EE Applications
- Solutoire.com › Flotr Documentation
- javascript生成图表
- extremetable - Google Code
- Tapestry 5 Advanced Components
- PermGen space
- 使用cglib的框架,如hibernate,spring,tapestry,再多次redeploy后都会出现PermGen space问题
- tapestry5-components - Google Code
- YSlow for Firebug
- Web 前端优化最佳实践
- jiffy-web - Google Code
- Web 前端优化最佳实践
- Tapestry 5 Components Test Application
Tapestry 5 自动重载page模板和page类问题
Tapestry5确实可以自动reload page tml模板和page classes,如果你的web.xml的定义是:
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <display-name>My Tapestry Application</display-name> <context-param> <param-name>tapestry.app-package</param-name> <param-value>org.example.myapp</param-value> </context-param> <filter> <filter-name>app</filter-name> <filter-class>org.apache.tapestry5.TapestryFilter</filter-class> </filter> <filter-mapping> <filter-name>app</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> </web-app>
那么,包org.example.myapp以及子包下面的tml和page class可以自动reload,也就是说,只有在org.example.myapp.pages下面的page classes和在org.example.myapp.components下面的component classes才会自动reload。
JVM的内存限制(JVM maximum heap size)
On 32bit platform, maximum virtual space is 4G. (2^32)
And on 32bit Windows, 2G space is reserved for OS kernel and another 2G space is reserved for a process.
So the maximum memory space that jvm can use is 2G.
Excluding some native os specific memory, generally the maximum java heap available for "one" java process is around 1500M.
In your case this limit seems to lie between 1.1G ~ 1.5G.