Joomla Memory Leak - Plugin Joomlisting

Closed

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.

Skills: Joomla, MySQL, PHP

See more: php script null, mysql database models, looking component for joomla, custom code joomla, Hosting Controller, vps error, memory, trace stack, component plugin, joomla site memory leak, application crashing, php mysql trace, helper php, uncaught, mysql error 2013, application database joomla, fatal error joomla, joomla site crashing, null plugin, mysql keep crashing, joomla leak, joomla search custom component, joomlistings joomla, component search database joomla, jsite dispatch joomla

Project ID: #4284298

10 freelancers are bidding on average $156 for this job

vietcodepro

Hello, I'm very interested your project. Please check your inbox for more details, thanks!

$200 USD in 2 days
(541 Reviews)
8.2
rabbul

Please check PMB

$150 USD in 2 days
(342 Reviews)
7.6
joomextensions

Hello, We are ready for this job, Please check Private Message. Regards.

$225 USD in 3 days
(48 Reviews)
6.7
ValueCoders

Hi, Experts team of SEO/Wordpress/PHP/joomla/Drupal developers and designers. Thanks Gaurav

$200 USD in 4 days
(96 Reviews)
6.5
terrycoder

Please let me help you, thanks!

$150 USD in 3 days
(108 Reviews)
6.4
w3bexpert

We have gone through your project requirements and are willing to work on this project. Please check PMB. Thanks

$100 USD in 3 days
(84 Reviews)
6.3
linuxfreak1985

Hi there, We are experts in PHP Open Source (any kind of PHP/MySQL work),wordpress and Ajax/Web 2.0 technology. Some of the projects we completed for php are mentioned below https://www.freelancer.com/projects/ More

$250 USD in 15 days
(62 Reviews)
5.7
di3sel

Hi, please check PMB

$75 USD in 2 days
(28 Reviews)
4.9
hbirjand

Hi I am an expert.

$250 USD in 10 days
(11 Reviews)
3.0
kartikkshah

My self Kartik Shah I have over 6 years experience to work in the web technologies and software field. I have experience to Work on: php, mysql, LAMP, ajax, jquery, json, javascript, xml, html, css, webserviecs wi More

$45 USD in 2 days
(2 Reviews)
2.0
nikandco

I am experienced Joomla / PHP developer. Memory leaks are common issue with bad programmed code.

$77 USD in 1 day
(1 Review)
1.0
suekline001

Hi, we are experienced in web development. We are based in Nashville,TN. I would like to talk to you about your requirements in detail. See our portfolio http://ortalsoft.com/portfolio/63 . We have done error fixes o More

$80 USD in 3 days
(0 Reviews)
0.0