I run Julia through repl. The procedure is simple: include("myfile.jl"),
then run myfunction() (I might do a Ctrl-C to interrupt the function), edit
something in myfile.jl, then repeat. Initially, julia processes normally
take less than 10% RAM, then after some time, one main Julia process takes
over 70% of the 4GB RAM. Even myfunction finishes running with real
idling, it still takes that much RAM. My code uses nearly no global
objects, and myfunction ends with nothing as the last statement.
myfunction isn't new though I keep modifying it from time to time. Julia
0.4.6 does not appear to have this issue.
Any thoughts on what might be the culprit?
| | |_| | | | (_| | | Version 0.5.0-rc4+0 (2016-09-09 01:43 UTC)
_/ |\__'_|_|_|\__'_| | Official http://julialang.org/ release
|__/ | x86_64-pc-linux-gnu