Option : use the CMPH library (http://cmph.sourceforge.net/)
This option allows huge memory saving (e.g. 0.5Gb instead of 32 Gb)
and seems to be of equal performance.