How to add custom arguments?

I must start minecraft in the client (and server on windows) using the argument " -XX:PermSize=256m -XX:MaxPermSize=512m" and am wondering how to add this using the webui. If I don’t add this argument I get a out of perm space error and am positive its needed.

In the web-ui, you can add any java arguments to the JAVA_TWEAKS box in your server.config.

Simply add -XX:PermSize=256m -XX:MaxPermSize=512m, re/start your Minecraft server and you’re set.

When I put those it changes the servers.config file to look like this:

[crontabs]
backup_interval = 120
archive_interval =
restart_interval =

[java]
java_xms = 4000
java_xmx = 4000
-xx = MaxPermSize=512m

[onreboot]
start = true

[minecraft]
profile = Forge

As you can see it deletes changes it from -XX:MaxPermSize=512m to > -xx = MaxPermSize=512m and completely deletes the entry -XX:PermSize=256m. What am I doing wrong. Can u just paste a blockquote of what my server.config should look like and I’ll use that because I don’t get what you are saying.

In my post, I advised using the web-ui to make this edit–are you doing it in the file itself?

Because when I put the the value in, I see it working like it should:

http://imgur.com/1epoUAK

java_tweaks = -XX:PermSize=256m -XX:MaxPermSize=512m

oh ok I was putting java tweaks in section rather than option. It’s working now. Thank you!