fix linux memory use