Board Thread:Questions and Answers/@comment-6031237-20130120111954/@comment-178.84.120.167-20130520050607

You say you're using 32 bit Java. This should normally be installed in path C:\Program Files (x86)\Java\jre7\bin\

A .bat file to run tekkit, saved in the same folder as where Tekkit.jar is, would then look like this:

path=C:\Program Files (x86)\Java\jre7\bin\;%path%

javaw -Xms2G -Xmx3G -jar Tekkit.jar nogui

Those two lines should be enough to run the server with the memory requirements you set. Make sure you type this EXACTLY as it is, since parameters are case-sensitive.

On a side-note, running 32 bit java with 2-3GB of memory will usually not work. A 64 bit java is better suited to handle these kinds of amounts of memory. But you can try it for yourself.