Implement setVideoMemorySize

implemented setVideoMemorySize