I may have found a way to solve it but I didn't really test it so... here we go
your crashlog file in FTB/<mod pack's name>/minecraft/forgemodloader-client ###
if last few lines of that log is like this:
Code:
013-03-14 19:17:09 [INFO] [STDERR] java.net.SocketException: Unexpected end of file from server
2013-03-14 19:17:09 [INFO] [STDERR] at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
2013-03-14 19:17:09 [INFO] [STDERR] at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
2013-03-14 19:17:09 [INFO] [STDERR] at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
2013-03-14 19:17:09 [INFO] [STDERR] at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
2013-03-14 19:17:09 [INFO] [STDERR] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
2013-03-14 19:17:09 [INFO] [STDERR] at java.net.HttpURLConnection.getResponseCode(Unknown Source)
2013-03-14 19:17:09 [INFO] [STDERR] at bas.run(SourceFile:26)
2013-03-14 19:20:37 [INFO] [STDOUT] Stopping!
2013-03-14 19:20:38 [INFO] [STDOUT] SoundSystem shutting down...
2013-03-14 19:20:38 [INFO] [STDOUT] Author: Paul Lamb, www.paulscode.com
2013-03-14 19:20:44 [INFO] [STDERR] Exception in thread "Thread-7" java.lang.OutOfMemoryError: PermGen space
Then you are having the "PermGen: Space" error which means there are too many classes in action at once which collapses java, becouse it cant dynamiclly increase resources to keep up all the classes and functions going.
This error is almost same as running out of memory and we can solve it quiet easily(I guess??).
So here is my experimental fix for this :
- Run your ftb launcher
- Go to options
- hit advanced options
- as "additional launch parameters" enter either one of these
Code:
-XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled
or
-XX:PermSize=64M -XX:MaxPermSize=256M
I didn't try either one of them but they change the perm size java allocates classes to run (it is 64MB by default).
You can change the "-XX:MaxPermSize=###M" to allocate more resources to PermSize, but I don't suggest that, as we don't have any idea what could happen...
Also to be honest I am coding java in a while now, and I have never seen this happening before , so I dont know if this is an actual memory leak or just requires lots of resources to run(if it is a memory leak you will crash but last longer without crashing,but it is just a guess)
so good luck everyone I hope I helped
Edit :
I tested both codes,
first one doesnt work
but second one does work so here we go... use the second code people