Is it CUE 2.0 ? You shouldnt be installing CUE 2.0 on a AIM with 512 M flash. Starting early 2005, Cisco started using 1 gig flash cards, so what you should first do is RMA the module to get the module with 1 gig card and then install 2.0 and the license.
HTH
Sankar Nair
UC Solutions Architect
Pacific Northwest | CDW
CCIE Collaboration #17135 Emeritus