SPSS 17 – Java fine tuning

I was asked, recently, whether SPSS can run faster. As you probably know, SPSS has moved development to Java language since release 16. Thanks to SPSS developers it is possible to fine tune Java environment during run time.

You can find


file inside installation directory. This file contains following section:

; Optional startup parameters go here
; for example, -Xms500
[Startup Parameters]
; Set application home for client facilities
; Set initial (Xms) and maximum (Xmx) Java heap sizes

In general, it is a good idea to give Java Virtual Machine as much memory as you can. In this case you can change:




After you change these settings, you should notice quite impressive shortage of execution time of the scripts – especially when the data set is huge.