One option that you have is to try and reduce the maximum heap size allocated to the MOE VM. You can do it with a simple modification in main.cpp:
In this other thread the maximum heap size was actually increased. I recommend that you try with -Xmx24m to see if it is enough for your app, and whether it reduces the memory usage that you see.