Created
October 11, 2017 21:14
-
-
Save pboesu/2109e0bf7387181072f1be478b089dcd to your computer and use it in GitHub Desktop.
rucrdtw memory leak
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gc() | |
#devtools::install_github("pboesu/rucrdtw", ref = "expose_distance_calculations") | |
library(rucrdtw) | |
set.seed(12444) | |
x = rnorm(10^4) | |
y = rnorm(10^4) | |
gctorture(on = TRUE) | |
for (i in 1:(2*10^3)) { | |
if (i %% 1000 == 0) print(i) | |
ucrdtw_vv(x, y, dtwwindow = 0.01) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment