Cocos2d-x 3.15 Director:: getInstance () ->end () to exit, but memory is not released

My current requirement is to connect cocos to the application in SDK mode,then start cocos,exit cocos with Director:: getInstance () ->end (),I just started app when memory 30m, start cocos and then back out, memory occupied 60m, how can not down, but also need to release those memory?