JVM parameters tuning question.
I using IntelliJ 9 (Client's choice)
Some project running just fine from the IDE with following parameters :
-server -Xmx1024M -XX:SoftRefLRUPolicyMSPerMB=5000 -enableassertions -DLOG_TO_CONSOLE=true -DenableP4Edit=true -DcreateGolden=true -DuseServerEmulator=REMOTE -DuseAgentEmulator=REMOTE -DcleanDatabase=true -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=128m -XX:HeapDumpPath=oom.hprof
But when I trying to change max memory to -Xmx1500M - it fails to load.
I have windows 32 with 3G physical memory jdk1.6.0_22.
Any suggestion why it's happening or how to fix it?

Comments
What's the exception you get?
make sure you have a swap file at least the size of you ram, don't know how to check that on windows.