Is it 'cos the SparkConf is getting shipped around ?
If yes, using the broadcast variable should alleviate it ?