Closed pboesu closed 7 years ago
found and plugged memory leak in ucrdtw_vv
in https://github.com/pboesu/rucrdtw/commit/aa6b857cdf7f761c7939f012843b5bceee40e5f8
Remaining methods still need to be fixed and tested.
Ok @pfistfl, the memory leaks should be fixed for all methods with https://github.com/pboesu/rucrdtw/commit/2956fe73989bbfd7aa81cb94627f6907b7b47e1f
If you can build from source ghit::install_github("pboesu/rucrdtw")
should do the trick for now, if not let me know and I'll provide a Windows binary for you. I will try to get this update onto CRAN asap but this may take me another couple of days.
See https://github.com/pboesu/rucrdtw/issues/7#issuecomment-334476832 by @pfistfl : I am working on windows and therefore I can not really debug this, but when I run the following code:
My rsession.exe starts to eat up more and more memory. (1.8GB of RAM each time I run the for loop). This slowly fills up the RAM and finally crashes the R-Session (or results in the following error:).
Even calling
gc(reset = TRUE)
does not free up the memory. Note, that no objects other than x and y are saved.