Temporary fix for OOM exception.