Go into the java control panel and be sure you don't have parameters set there.
erm... i, have no clue
@Eyamaz, i was wondering if I pump out the permGen into 512 or 1024 instead of 256 will it helps? or will it better to make it stay at 256?
For the "Occasional stutter but noticeable" issue, and garbage collection logs:
Setting permgen higher than it needs to be has no positive effect. And, since it takes memory away from the rest of the heap, in 32 bit java it has a negative effect.
If you use "-XX:MaxPermSize=500m", then Java will resize the memory as needed, only allocating as much as is needed, and not harming the rest of the heap.
Remember, there is nothing special about powers of 2 for these memory settings.
-Xms2048m -Xmx2048m -XXermSize=256m -XX:ReservedCodeCacheSize=512m -XX:NewRatio=4 -XX:SurvivorRatio=3 -XX:TargetSurvivorRatio=80 -XX:MaxTenuringThreshold=8 -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=0 -XX:MaxGCPauseMillis=20 -XX:GCPauseIntervalMillis=250 -XX:MaxGCMinorPauseMillis=7 -XX:+CMSClassUnloadingEnabled -XX:+ExplicitGCInvokesConcurrentAndUnloadsClasses -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=50 -XX:+BindGCTaskThreadsToCPUs -XX:+TieredCompilation -XX:Tier0ProfilingStartPercentage=0 -XX:Tier3InvocationThreshold=3 -XX:Tier3MinInvocationThreshold=2 -XX:Tier3CompileThreshold=2 -XX:Tier3BackEdgeThreshold=10 -XX:Tier4InvocationThreshold=4 -XX:Tier4MinInvocationThreshold=3 -XX:Tier4CompileThreshold=2 -XX:Tier4BackEdgeThreshold=8 -XX:TieredCompileTaskTimeout=5000 -XX:Tier3DelayOn=50 -XX:Tier3DelayOff=25 -XX:+UseFastEmptyMethods -XX:-DontCompileHugeMethods -XX:+AlwaysCompileLoopMethods -XX:+CICompilerCountPerCPU -XX:+UseStringCache -XX:+UseNUMA
There is no upper limit imposed by java, other than the total size of the heap.so 256 is the best value or can I use 512 for the best value? since there is no point setting it bigger than 512 as far as i know right?
EDIT2: Now I got a new error...
[SEVERE] Encountered an unexpected exception LoaderException
cpw.mods.fml.common.LoaderException: java.lang.OutOfMemoryError: Java heap space
at cpw.mods.fml.common.LoadController.transition(LoadController.java:156)
...
Do I just need more RAM allocated ?(Java newbie)
I dont know wtf a java control panel is, so I can't possibly have set a "flag" there...There is no upper limit imposed by java, other than the total size of the heap.
As long as you only specify the max size, and are OK with java doing a full GC every time it wants to resize it, there is no problem with setting the max size very large.
If you want to try to predict the largest possible mod pack, and set the max size for that, and assume that no one will ever make a bigger mod pack, go right ahead. I won't, and I won't say "X is the largest you need".
Right now, I've never heard of anyone running out of perm space at 256. Doesn't mean it doesn't happen. Just that I haven't heard of it. And, in case it does, I gave 500 as an example. I personally use 150 (I'm working with a modpack that is 100 right now.)[DOUBLEPOST=1388338070][/DOUBLEPOST]
Please avoid using special text. Part of your post was in small fonts and hard to read.
You are running out of memory, and need more allocated. But your launch flags are specifying 2 gig. So, check elsewhere.
On your java control panel, do you have any flags set? I believe that any flags set there will override anything you try to use to run minecraft, and if you have memory settings there, then you are bleeped.
[11:10:59 INFO]: Client> 2013-12-31 11:10:58 [SEVERE] [ForgeModLoader] The following problems were captured during this phase
[11:11:03 INFO]: Client> 2013-12-31 11:11:03 [INFO] [STDERR] Exception in thread "Minecraft main thread" java.lang.OutOfMemoryError: PermGen space
[11:11:06 ERROR]: Game ended with bad state (exit code 1)
[11:11:06 INFO]: Deleting .minecraft\versions\1.6.4-Forge9.11.1.965\1.6.4-Forge9.11.1.965-natives-6382925887407
[11:11:06 INFO]: Ignoring visibility rule and showing launcher due to a game crash
It's probably permgen. Try setting the permgen parameter.hmm, I used the old JVM code for the FTB launcher in the vanilla launcher without a problem, but if I now use the new JVM code for the FTB launcher for the vanilla launcher I crash with this code
Code:[11:10:59 INFO]: Client> 2013-12-31 11:10:58 [SEVERE] [ForgeModLoader] The following problems were captured during this phase [11:11:03 INFO]: Client> 2013-12-31 11:11:03 [INFO] [STDERR] Exception in thread "Minecraft main thread" java.lang.OutOfMemoryError: PermGen space [11:11:06 ERROR]: Game ended with bad state (exit code 1) [11:11:06 INFO]: Deleting .minecraft\versions\1.6.4-Forge9.11.1.965\1.6.4-Forge9.11.1.965-natives-6382925887407 [11:11:06 INFO]: Ignoring visibility rule and showing launcher due to a game crash
it's not that much of a problem, as I can just keep using the old code. but I just thought of posting this code here just in case it might be of any use