/**
	 * @param array  $link_sitemap contain all the links for the Google Sitemap file to be generated
	 * @param array  $new_link     contain the link elements
	 * @param string $lang         language of link to add
	 * @param int    $index        index of the current Google Sitemap file
	 * @param int    $i            count of elements added to sitemap main array
	 * @param int    $id_obj       identifier of the object of the link to be added to the Gogle Sitemap file
	 *
	 * @return bool
	 */
	public function _addLinkToSitemap(&$link_sitemap, $new_link, $lang, &$index, &$i, $id_obj)
	{
		if ($i <= 25000 && memory_get_usage() < 100000000)
		{
			$link_sitemap[] = $new_link;
			$i++;

			return true;
		}