Hello there,
Executing locally my project, after a long time of browser refreshs of my
application, the Jetty freezes.
I have identified that is a memory leak problem of Jetty, then I've added
the following VM args to my pom.xml
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<configuration>
<runTarget>${gwt.runtarget.html}</runTarget>
<extraJvmArgs>
*-server -Xms1024m -Xmx1024m -XX:MaxPermSize=512m -XX:ParallelGCThreads=20
-XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:SurvivorRatio=8
-XX:TargetSurvivorRatio=75 -XX:MaxTenuringThreshold=0 -XX:+AggressiveOpts
-XX:-TraceClassUnloading -Dsun.io.useCanonCaches=false
-Dsun.net.client.defaultConnectTimeout=60000
-Dsun.net.client.defaultReadTimeout=60000*
</extraJvmArgs>
*....*
*
*
I hope that works for you ;)
best regards
2010/7/6 Matthias Groß <[email protected]>
> Hi,
>
> I doubt that you will get any definite answers if you don't provide a
> more thorough analysis of your problem.
>
> Generally just try to release all references to heavy-weight objects
> you don't need anymore as soon as possible. This holds true especially
> for global instances, e.g. singletons.
> If that doesn't help consider using weak references (see
> http://java.sun.com/j2se/1.4.2/docs/api/java/lang/ref/WeakReference.html).
>
> /Matthias
>
> P.S.:
> Also use less exclamation marks please.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
--
Marcus Vinícius Bastos de Andrade
http://twitter.com/mynameisflaw
+55 31 9823-3606
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
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.