avoid blowing up when DEBUG is true

running this command with DEBUG on can lead to a memory explosion, a warning can save people some time (Py 2 and 3 compatible)