It is implemented as binary heap. It can contain "unlimited" number of items.