I was facing a similar allocation problem and posted here
Please let me know if it is similar to yours?