高斯过程吞噬我的记忆

问题描述:

我已经在Ubuntu 12.04上安装了skicit-learn 0.13.1。运行以下代码耗尽我的内存,即我可以用top top观看,每次迭代内存的增长情况如何,并且在约一秒后出现分段错误。 160次迭代(限制可用内存'ulimit -Sv 4000000'至大约4GB)。高斯过程吞噬我的记忆

from sklearn import gaussian_process 
import numpy as np 


x = np.random.normal(size=(600, 60))    
y = np.random.normal(size=600) 

for s in range(100000): 

    print 'step %s' % s 

    test = gaussian_process.GaussianProcess(
      theta0= 1e-2, 
      thetaL= 1e-4, 
      thetaU= 1e-1, 
      nugget= 0.01, 
      storage_mode='light').fit(x, y) 

所以我在这里想念什么?

这看起来像是一个严重的内存泄漏。请在https://github.com/scikit-learn/scikit-learn/issues上报告。