enable  Pre-alloc memory for for libra

Change-Id: I7ebfe8bcef63b6bbe90322bd915ec5fd0d78e811