Set userdata size variable

Change-Id: I9d1c4f3ce7d1bbeb9c001815862d3d20d37d735f