きぬろぐ
Struts 2でのメモリリーク
投稿者: kinusati, カテゴリー: Java
Struts2(2.1.8)を利用してアプリを制作していたのだが、なぜかメモリリークがするので調査したところ、Struts 2.1.8.1未満はメモリリークの不具合があるとのこと。
Bug
- [WW-2167] – Memory leak when app stopped
- [WW-2759] – The Struts 2 Portlet Tutorial “mvn archetype:create -DarchetypeGroupId=org.apache.struts -DarchetypeArtifactId=struts2-archetype-portlet -DarchetypeVersion=2.1.1-SNAPSHOT -DartifactId=bookmark-portlet ” Can’t use
- [WW-3141] – Maven2 struts archtype error — documentation in http://struts.apache.org/2.x/docs/struts-2-blank-archetype.html
- [WW-3191] – Per Action alias validation for wildcard mappings broken due to WW-2996
- [WW-3269] – Docs are incomplete and generated zip is incompatible with windows
- [WW-3290] – Struts 2.1.8.1 omnibus ticket
- [WW-3356] – Maven Archetypes support broken
- [WW-3401] – S2 JSON Plugin handles json content and contentType encoding differently
Improvement
- [WW-3271] – Upgrade Strust 2 archetypes to use latest version – 2.1.8
- [WW-3272] – Create new Maven archetype base on Convention
Task
- [WW-1726] – Update and release the Struts 2 archetypes
- [WW-3359] – Struts 2.1.8 Archetypes omnibus ticket
早速2.1.8.1のjarに入れ替えたらリークせずにガーベジがスムーズに走るようになりました。フレームワークの不具合は勘弁してほしいです。
Eclipseã§ã¡ã¢ãªãªã¼ã¯èª¿æ» | ãã¬ãã
2010年7月11日[...] è¦ããããã調æ»ãã¦ã¿ããStruts2 2.1.8.1æªæºã«ã¯ã¡ã¢ãªãªã¼ã¯ãåå¨ããã¨ã®ãã¨ãããããªã¼ã [...]