Product collection with limit Magento

$productCollection = Mage::getResourceModel(‘catalog/product_collection’)
->addCategoryFilter($_category)
->addAttributeToSelect(‘*’)
->setPageSize(5);
$productCollection->load();

Share