Hi,
There seems to be memory leak (in cvs head) when using <wicket:link>. I isolated the situation to rather simple case, but my wicket knowledge is not enough for solving this. I attached the files that produce the error. Clicking the links a few times cause error "
java.lang.OutOfMemoryError: Java heap space". This does not happen with 1.1 final.
/arto
package pages; import wicket.markup.html.WebPage;
public class MenuPage extends WebPage { private static final long serialVersionUID = 1L; public MenuPage() { super(); } }
|
|
package pages; import wicket.markup.html.WebMarkupContainer; public class Page1 extends MenuPage { private static final long serialVersionUID = 1L; public Page1() { super(); add(new WebMarkupContainer("test")); } }