You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there some way to garbage collect compiled functions/code?
For applications that want to compile and then temporarily use a large number of functions (for example for genetic programming, or code specialisation/synthesis applications) it might be important if there was a way the code compiled for temporary use could then be garbage collected so as not to "leak memory". Is there some way to achieve this in the current Julia implementation? If not is this something to think about for future extensions?
Yes, but in many cases writing the interpreter might be a much harder task than and it is not uncommon that for performance reasons one is not only executing it once but on many different test cases/inputs. But thanks for your links to related issues and discussions.
Is there some way to garbage collect compiled functions/code?
For applications that want to compile and then temporarily use a large number of functions (for example for genetic programming, or code specialisation/synthesis applications) it might be important if there was a way the code compiled for temporary use could then be garbage collected so as not to "leak memory". Is there some way to achieve this in the current Julia implementation? If not is this something to think about for future extensions?
This is in an issue since there were not many replies in relation to a question asked on Discourse:
https://discourse.julialang.org/t/is-mem-of-compiled-evaled-functions-garbage-collected/2231
The text was updated successfully, but these errors were encountered: