I used this
link text
but when
SurfFeatureDetector detector( minHessian );
SurfDescriptorExtractor extractor;
get execute memory consumption get boosted to over 300 mb which, I want to control somehow in iPhone is there any workaround to manage this memory?