How to allocate more RAM to my Minecraft server?

I tried running the.bat file and it just comes up with a message saying java isn't a valid command. I tried looking for other solutions on here and couldn't find any that worked for me. I think it would be worth noting that my server is running forge for pixelmon so I have to use "minecraftforge-universal-1.6.4-9.11.1.9… To start running the server.

Sounds like java isn't set into your system path. Ull have to call java with its full location. Or add it to your system path.http://www.java.com/… You can try opening up cmd and type in "java --version" without the ".