I'm sorry, but I don't know where to change the memory for the .exe. But for the .bat file you can try to open the command promt and execute it from there. Then you will see the echoed statements.
By the way. I am running the batch file and changed there MAX_JAVA_MEMORY. But I don't remenber the necessary steps