- 
                Notifications
    You must be signed in to change notification settings 
- Fork 11
Open
Labels
bugSomething isn't workingSomething isn't working
Description
I think I have detected a memory leak in gbt.load. Could be I'm failing to understand how R handles memory (and the imperfections of that process), but maybe adding a manual garbage collection in the C subroutine could be the way to solve this?
Minimal replication:
x <- runif(50000, 0, 10)
y <- rnorm(50000, x, 1)
mod <- gbt.train(y, as.matrix(x))
gbt.save(mod, 'gbt_model.gbt')
Memory usage (by the R process, not the objects in R workspace) increments on my system by roughly 1mb every time the below line is run:
mod <- gbt.load('gbt_model.gbt')
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working