by chance, is the periodically_call_remote function inside the element
you are updating?
example;
view
<div id="update_me">
...
<%= periodically call remote :url => ..., :fequency => 60, :update
=>
"update_me" -%>
</div>
rjs
page.replace_html :partial => ''some_partial''
where _some_partial contains a call to periodically_call_remote
On 1/31/07, De Railed
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:>
> All,
>
> I have a site that uses periodically_call_remote to refresh a part of
> a page.
> The callback from the refresh merely fetch the new data and calls an
> rjs
> template to replace a div on the page via replace_html. Dead simple
> no other js
> calls... The refresh takes place every 60s.
>
> I am noticing that with firefox the memory keeps growing and growing
> and never seems to be garbage collected. Eventually mem runs out and
> firefox either dies or
> becomes unresponsive.
>
> Trying the same app on safari. The memory seems to remain stable and
> the app can stay alive a long time.
>
> I have tried several option include triming down the replaced content
> to almost nothing but yet seeing the same effect.
>
> Anyone out there running into this issue with firefox ??
>
> Any clues on how to try to tackle this issue would be much
> appreciated...
>
>
> Thank you all...
>
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---