v1.0.4
avoid OOME and skip the watermark if we don't have enough ram