Today I find I forget to release the Mat data.....This problem is result in running out of memory..
Allocation Release
cvCreateImage/cvCloneImage cvReleaseImage
cvCreateMat/cvCloneMat cvReleaseMat
cvCreateData cvReleaseData
Dynamic structures:
cvCreateMemStorage
cvMemStorageAlloc
cvReleaseMemStorage
cvClearMemStorage
No comments:
Post a Comment