Didn't want to create thread, so I will ask here. Though questions not really about modding, I'm sorry. Hope Alex or someone else will know the answer.
1) Why in vmparams used "-server"?
2) Why used "-XX:CompilerThreadPriority=1" and what exactly will happen if I remove it?
Now here is a short backstory. I switched native jre folder to JRockit jre. Launcher doesn't even start if -XX:CompilerThreadPriority=1 is present in vmparams, but without it game works. And iirc, JRockit by default uses "-server" mode, and when I tested game without "-server"(but in case of JRockit this parameter looks like this "-jrockit") and with it, game was running with almost twice lower FPS and also game speed was almost twice slower. Though cpu usage was lower. But after I added "-client" parameter, and run Starsector with JRockit jre(-XX:CompilerThreadPriority=1 still removed), game was running perfectly normal with 55-60FPS and average cpu load.
As you may notice, I tried to solve Out of memory problem/problem of 1.5Gb limit for java on 32-bit system. I found that JRockit manages memory differently and may give additional memory to Starsector.
3) I noticed that most of Out of memory errors are associated with game trying to load system or hyperspace background. Out of 6 errors about 5 are same: game trying to load background4.jpg or similiar texture. Can this information be usefull?
I for quite some time thought if it is possible to turn off or enable simplified backgrounds/textures for some things in game to remove some load.
4) And finally I'd like to know if there is some reliable and fast way to recreate Out of memory error. I spent couple of hours flying around whole sector, warping in systems and back, engaging multiple battles, using save loading, just to recreate error with different vmparams settings. I know for a fact that with default installation and few mods enabled (to increase memory usage) game also starts to stutter at some point, if you use hyperspace often. I'd like to test few things, but it will take quite some time if I will just play and wait if errors/stuttering will kick in.