Stuart Sierra <[email protected]> writes: Hi Stuart,
> This is a problem with a feature introduced in 1.3: binding-conveyance > for Agent sends. Starting in 1.3, agent actions are called with the > same thread-local Var bindings that were in effect when they were > called. In some situations, this can build up a stack of thread-local > Var binding frames, one for every `send`. But shouldn't at least the thread-local Var binding frames be freed after the actions have been performed? I've ran the OP's code using 1.3.0, waited till the JVM used up about 1.7GiB, then called (send flipper stop), but the allocated memory stays constantly at the 1.7GiB (and even increased to 1.8 after running (System/gc)). So it seems like the bindings are still referenced from somewhere... Bye, Tassilo -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
