Memory store optimize question

I have a question about store index in memory,that is if my memory is 64GB and my index size is 50GB,how can i do the optimize,i know that the min space to optimize is 2X of index size.