ENVI_SVM_DOIT Memory Problem [message #87970] |
Fri, 07 March 2014 00:10 |
moxament
Messages: 26 Registered: April 2008
|
Junior Member |
|
|
Dear All,
I am using the ENVI SVM routine (ENVI_SVM_DOIT) in a simple IDL code for the classification of a multi-spectral image (image with 23 bands).
The classification is repeated/iterated thousands of times. In each iteration, specific bands are selected for the SVM classification. The code works fine without any problem in the beginning. However, after a couple of hundreds of iterations I get the error message "unable to allocate memory".
It looks like there is a memory leak, the ENVI_SVM_DOIT routine seems to increasingly consume memory after each iteration until no memory is available anymore!
I have used the same code for the image classification using the ENVI routine of the Maximum Likelihood (ML) classification algorithm without any problem at all.
Please, could anyone explain me why this problem appears with the ENVI_SVM_DOIT routine and help me solve this problem. Your help is really appreciated.
Thanks,
Dabor
|
|
|