Finally fixed fatal bullshit.  Should use allocateDirect instead of allocate.