Hello Dhanu,
Visualizer images do not affect script functionality. So, you can delete them.
However, it looks like you are using the BMP format to store Visualizer images, and that is why, their size is huge. We recommend using the PNG format for this purpose. You can choose the format to use in the "Tools | Options... | Engines | General | Images" dialog.
However, what parts of the project suite take the other 22 Gb of memory? If these are the execution results, the cause may be the same - the mentioned setting also affects the format of the images posted to the Test Log.