Thursday, July 26, 2012

Re: GWT Server Memory Leak

Request Factory. GWT 2.3. 

Last question I didn't understand correctly, but after analyzing the heap dump I saw many entities still present in memory. Apparently the entity manager didn't release them completely, although I'm calling em.close() every time.

Tks for you reply.


On Thu, Jul 26, 2012 at 11:01 PM, Thomas Broyer <t.broyer@gmail.com> wrote:
GWT-RPC or RequestFactory? Which version of GWT? What are they referenced from?


On Friday, July 27, 2012 3:54:36 AM UTC+2, Aldo wrote:
Hi,

I'm deploying my app in a local webserver and I'm experiencing a Memory Leak. I analysed the heap with the jmap/Eclipse Memory Analyzer Tool and apparently the objects returned to the client are not being freed. I'm closing all Entity Managers after using them in a search (for instance), but it seems that the objects are still being referenced. Is there any configuration or specific method that I must call in order to get the objects freed?

Thanks,
Aldo

--
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/-/oAyEPChLO_gJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment