Dear kurul,
It seems like you are trying to allocate a ~400MB memory region. This may be possible, but you need to make some changes. I would suggest to re-create your project with the ‘Keep Xcode Project’ option enabled. This way your can edit your Xcode project’s main.cpp file and change it to something like this:
#include <MOE/MOE.h>
#include <string.h>
#include <alloca.h>
int main(int argc, char *argv[]) {
char** argv2 = (char **)alloca(sizeof(char*) * (argc + 1));
argv2[0] = argv[0];
argv2[1] = strdup("-Xmx512m");
for (int i = 1; i < argc; ++i) argv2[i + 1] = argv[i];
return moevm(argc + 1, argv2);
}