Huge memory link when reloading all textures

Hi,
I’m trying to simulate Android context lost on Win32.
What I did was added the following code when pressing F3 key:

 if (wParam == VK_F3)
        {
            if (CCDirector::sharedDirector()->getOpenGLView())
            {
                if (CCApplication::sharedApplication())
                {
                    CCApplication::sharedApplication()->applicationDidEnterBackground();
                }

                CCNotificationCenter::sharedNotificationCenter()->postNotification(EVENT_COME_TO_BACKGROUND, NULL);

                if (CCDirector::sharedDirector()->getOpenGLView()) {
                    CCApplication::sharedApplication()->applicationWillEnterForeground();
                }

                ccDrawInit();
                ccGLInvalidateStateCache();

                CCShaderCache::sharedShaderCache()->reloadDefaultShaders();
                CCTextureCache::reloadAllTextures();
                CCNotificationCenter::sharedNotificationCenter()->postNotification(EVNET_COME_TO_FOREGROUND, NULL);
                CCDirector::sharedDirector()->setGLDefaultValues(); 
            }
        }

Every time this code runs I’m seeing a memory leak at almost the size of the entire app’s memory.
Did anyone have issues with memory leaks in Android while reloading textures?