Menu

#53 very big memory request by connectArchiveServer.php

v1.0_(example)
open
nobody
None
1
2026-03-16
2026-03-13
Anonymous
No

Hi J-P,
I have just installed asemon_report_V3.2.6 on a Red Hat 9 system with PHP 8.3. I can see from ASE errorlog (16.0 SP04 PL07 HF1) that asemon report connects to the archive server (00:0012:00000:00541:2026/03/13 16:12:03.84 Logon Login succeeded : User asemon, Client IP address: '172.18.150.8', Appname: AsemonReport, Progname: ODBC, Progversion: 16.0.3.21, TdsVersion:5.0.0.0.), but on the browser I get "error in connectServer()" and in /var/log/php-fpm/www-error.log file there is the following message "[13-Mar-2026 16:12:03 UTC] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 206158430464 bytes) in /var/www/html/asemon_report/COMMON/connectArchiveServer.php on line 248". How is it possible that the report wants to allocate 200GB ?
Thank you and best regards,
Nicola

Discussion

  • Jean-Paul Martin

    Hi Nicola
    seems your ODBC connection on RedHat 9 is not correctly configured
    Did it work before (with ODBC) ? or this pb came with 3.2.6 ?

    There is little doc for ODBC install on https://sourceforge.net/p/asemon/wiki/install%20asemon_report%20on%20Linux%20with%20PHP8/

    Cannot help you more
    Best regards
    JP

     
  • Jean-Paul Martin

    Sorry, I didn't see it connects to ASE but the problem occurs after
    Try a more recent ODBC Sybase driver (SDK 16.0 SP04 PL08 available)

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB