Hi all,
I´m having problems with memory leaks in a web using ajax poll and I have seen that the Ajax poll showcase in the PrimeFaces web site has a memory leak too. Is this a known bug?
I´m using primefaces-2.2.M1, Mojarra 2.0.2 (FCS b10) and Tomcat 6.0.24
Thanks in advance!
Memory leak in Ajax poll?
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
How do you understand that there is a leak?
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Which tool are you using for profiling.
I´ve used Drip, its available here http://outofhanwell.com/ieleak/index.ph ... =Main_Page
- bumble.bee
- Posts: 723
- Joined: 29 Sep 2010, 21:39
- Location: United States
If there really is a memory leak in poll then I'm in big trouble. Since AJAX Push isn't working in the latest PrimeFaces I'm resorting to polling. If polling also is not a valid option then ... well...
Hi bumble.bee,
I recommend you to try ICEPush http://www.icepush.org/. It's very simple to use and is more reliable than other server push technologies.
Here is a small article about this subject http://java.dzone.com/articles/icepush- ... va+Zone%29
I recommend you to try ICEPush http://www.icepush.org/. It's very simple to use and is more reliable than other server push technologies.
Here is a small article about this subject http://java.dzone.com/articles/icepush- ... va+Zone%29
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
- bumble.bee
- Posts: 723
- Joined: 29 Sep 2010, 21:39
- Location: United States
Thanks for the suggestion. IcePush sounds like a reasonable option. I would have to use the JavaScript or jQuery / raw interface I suppose since the JSF integration is IceFaces, which I don't want to fool with (dealing with the quirks of one component library is about all I can take).
Hi bumble.bee,
ICEPush != ICEFaces. It's an independent jar file without any dependencies. Pure JDK.
ICEPush != ICEFaces. It's an independent jar file without any dependencies. Pure JDK.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
- bumble.bee
- Posts: 723
- Joined: 29 Sep 2010, 21:39
- Location: United States
Yeah, I got that part. The DZ article though lists all of the integration options and the one for JSF says it is IceFaces.
All I was saying in my previous post is that I don't want to use IceFaces so as far as integration options are concerned it looks like I'd need to use either JavaScript or jQuery.
All I was saying in my previous post is that I don't want to use IceFaces so as far as integration options are concerned it looks like I'd need to use either JavaScript or jQuery.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 57 guests