Slightly improve behaviour under low memory conditions.