Joomla Memory Leak - Plugin Joomlisting

  • Status Closed
  • Budget N/A
  • Total Bids 12

Project Description

I'm getting Memory leak issues with custom code for Joomla's Joomlisting script.


Fatal error: Out of memory (allocated 267911168) (tried to allocate 2 bytes) in /home/autoswal/public_html/libraries/joomla/database/database/[url removed, login to view] on line 462


The search feature in particular is throwing a number of errors, regardless of the search term and it is exhausting PHP memory.

Please see the following error output, as it may assist in troubleshooting the issue:

Fatal error: Uncaught exception 'Exception' with message 'Input is not an Array' in /home/autoswal/public_html/components/com_joomlistings/models/[url removed, login to view] Stack trace: #0 /home/autoswal/public_html/components/com_joomlistings/models/[url removed, login to view](771): JoomlistingsModelListing->array_copy(NULL) #1 /home/autoswal/public_html/components/com_joomlistings/controllers/[url removed, login to view](63): JoomlistingsModelListing->search(Object(stdClass), 0, 15) #2 /home/autoswal/public_html/libraries/joomla/application/component/[url removed, login to view](236): JoomlistingsControllerSearch->search() #3 /home/autoswal/public_html/components/com_joomlistings/[url removed, login to view](25): JController->execute('search') #4 /home/autoswal/public_html/libraries/joomla/application/component/[url removed, login to view](162): require_once('/home/autoswal/...') #5 /home/autoswal/public_html/includes/[url removed, login to view](124): JComponentHelper->renderComponent('com_joomlisting...') #6 /home/autoswal/public_html/[url removed, login to view](68): JSite->dispatch('com_joomlisting...') #7 {main} thrown in /home/autoswal/public_html/components/com_joomlistings/models/[url removed, login to view] on line 957


I need to get this site to stop having this error and memory leak. I will have my hosting support double check it with the new code you provide.

This site has been crashing my httpd on my VPS. So I'm looking to get these crashes to stop.

The php "memory_limit" is currently set to 9999M just as a fail safe to keep the site from having these errors. I'd like to get the site optimized enough that I can set that limit to 128M if not lower.

Get free quotes for a project like this
Skills Required

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online