I display the search result using PopupPanel, the PopupPanel has a button
"filter" which allow user to refine the criteria and show the result
(PopupPanel) again.I found that after several this operation (hide(), then
new the PopupPanel again, center() it), the weblogic will throws
> "java.lang.OutofMemoryError: Java heap space"
>
I already set the Xms and Xmx of weblogic to 1024M for my local machine.
the relevant code is posted as follow:
filter.addClickHandler(new CloseClickHandler(){
> @Override
> public void onClick(ClickEvent event) {
> super.onClick(event);
> Scheduler.get().scheduleDeferred(new
> Scheduler.ScheduledCommand(){
> @Override
> public void execute() {
> ((SearchLogsPanel)callingPanel).btnSearch.click();
>
> }
> });
> }
> });
>
>
in the attached code,
super.onClick(event);
will close the PopupPanel, then in the scheduler execute() method, the
btnSearch.click() will new the PopupPanel again and
then center(show) it.
I suspect PopupPanel.hide() will not clear the memory and so after several
these operation,
many PopupPanel is accumulated and so used up the weblogic
memory, is this true?
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/B3w70QjdBAkJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.