#224 adodb memory leak

closed-works-for-me
Matt
GUI (28)
5
2012-05-01
2012-04-05
No

Hello,

I get the following error message:
[Thu Apr 05 07:54:49 2012] [error] [client x.x.x.x] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 523800 bytes) in /usr/share/openqrm/web/base/include/adodb/adodb.inc.php on line 4133, referer: http://<openqrmserver>/openqrm/base/server/resource/resource-overview.php?table_max=32&table_sort=resource_id&table_order=ASC&table_offset=0&table_limit=20&table_action=%3E%3E

I use 256M memory for PHP. I used 128M before but doubling the memory didn't help. Therefore I think that's a memory leak or something else.

How to reproduce it:
1. Go to resources list
2. Select order by "Type" ASC, ofset 0, limit 20
3. Click "refresh"
4. you end up in an empty frame and will find the error message given above

And: all other sort orders are working. Only soring by type causes problems in my environment.

Kind regards

Thomas

Discussion

  • Matt

    Matt - 2012-05-01

    Hi Thomas,

    many thanks for your bug report.

    Anyway if you encounter those Adodb PHP error message then something is wrong with your database.
    It is not "fixable" by giving PHP more memory.

    Closing the bug, please re-open if the problem still exists in your setup, then please attach more infos and logfiles.

    many thanks and have a nice day,

    Matt Rechenburg
    Project Manager openQRM

     
  • Matt

    Matt - 2012-05-01
    • status: open --> closed-works-for-me
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks