Problem with refreshing history subpanel in Accounts

I have problem with loading history subpanel content.
When opening Account history subpanel loads properly. In case there is more elements than 15 items loaded according to system settings, and when user clicks Next to load more, the panel fails to load.
In browsers console there shows 500 internal error:

sugar_grp1.js?v=F3miuqpDgNFKJtvS6tWhtQ:273 GET http://server.address/crm/index.php?odule=Accounts&action=DetailView&offset=7&record=ca96d51e-f2e3-84e6-79f2-74ec66cd9d3&Accounts_history_CELL_offset=15&Accounts_history_CELL_ORDER_BY=&sort_order=desc&to_pdf=true&action=SubPanelViewer&subpanel=history&layout_def_key=Accounts&inline=1&ajaxSubpanel=true 500 (Internal Server Error) 

In apache error log:

PHP Fatal error:  Allowed memory size of 1073741824 bytes exhausted (tried to allocate 73 bytes) in /var/www/html/crm/include/utils/db_utils.php on line 102, referer: http://server.address/crm/index.php?module=Accounts&action=DetailView&offset=7&record=ca96d51e-f2e3-84e6-79f2-574ec66cd9d3

In php.ini maximum amount of memory a script may consume is set to 1024M. Increasing the limit only extends the time until the error message appears.
Repair and Rebuild did not help.

Any suggestions?

SuiteCRM Version 7.5.3 - Sugar Version 6.5.23 (Build 1061)
Apache: httpd-2.2.15-31.shmz65.2.8.x86_64
PHP Version => 5.3.28
MySQL 5.1.73-log |
Redhat release 2.6.32-504.8.1.el6.x86_64 (FreePBX distro - SHMZ release 6.6 (Final)