Permanent Generation and gwt-servlet 2.7.0-beta1

110 views
Skip to first unread message

luca.masini

unread,
Nov 10, 2014, 4:45:37 AM11/10/14
to google-web-tool...@googlegroups.com
Hi all, I just updated a project using GWT 2.6.1 with version 2.7.0.

Everything seems to works client side (after adding some dummy property on the gwt.xml), the problem is server side.

I noticed that my WLS 12.1.1 stopped working after one deploy, so I started digging and I've found that the new gwt-servlet.jar fill the Permanent Generation memory.

I tried expanding it up to 512MB, but it can resist one more deploy, so I reverted to 2.6.1.

I saw that the jar size is quite the same, 9.2 vs 9.4 MB, so the problem must be inside the byte code.

Any idea ?

No one experienced such problem ?

Thanks.
L.

Thomas Broyer

unread,
Nov 10, 2014, 6:17:14 AM11/10/14
to google-web-tool...@googlegroups.com
Hmm, there hasn't been much changes to GWT-RPC since 2.6.1:

Other changes are the update of Guava from 15.0 to 16.0.1 and Closure (sourcemaps, used to deobfuscate stacktraces):

Or maybe you're using other things than GWT-RPC? but there haven't been much changes there too I believe.

Have you looked at the content of the perm gen space?

luca.masini

unread,
Nov 10, 2014, 6:40:50 AM11/10/14
to google-web-tool...@googlegroups.com
I added that dependency only because I use RegExp and I cannot use JRE's Matcher.

I don't use GWT-RCP, I make REST calls.

But it's a good idea, I'll dump the PermGen content to see what is inside.

L.

Thomas Broyer

unread,
Nov 10, 2014, 9:39:30 AM11/10/14
to google-web-tool...@googlegroups.com


On Monday, November 10, 2014 12:40:50 PM UTC+1, luca.masini wrote:
I added that dependency only because I use RegExp and I cannot use JRE's Matcher.

I don't use GWT-RCP, I make REST calls.


This is strange because regexp hasn't changed: https://gwt.googlesource.com/gwt/+log/2.6.1..2.7.0-rc1/user/src/com/google/gwt/regexp (one change to gwt.xml, and one new method) and only uses java.util classes, so there shouldn't be any difference in behavior between 2.6.1 and 2.7.0-rc1.

luca.masini

unread,
Nov 10, 2014, 2:57:02 PM11/10/14
to google-web-tool...@googlegroups.com
Sorry, I didn't mean that there is a change in behaviour in RegExp, only that I used gwt-servlet because I needed to use that on client and on server side.

Thomas Broyer

unread,
Nov 10, 2014, 5:36:34 PM11/10/14
to google-web-tool...@googlegroups.com
Well, you have a difference of behavior wrt PermGen, right? ;-)
Reply all
Reply to author
Forward
0 new messages