Topic-icon memory error / jfbcsystem.php on line 356

Active Subscriptions:

None
##text## hi,

I've just realised that when System - JFBCSystem enabled, some pages dont display (not all). Looking at the hosting logs seems like it is some sort of memory related issue, which is set to RLimitMem Max in htaccess.

If I disable FB plugins then everything works fine. Please can you advise how can I fix this error? See below the versions related and a section from log file.

Joomla 1.7.2

JFBConnect 4.0.3
JFBCLogin 4.0.2
Authentication Plugin 4.0.0
System Plugin 4.0.1
User Plugin 4.0.0
The topic has been locked.
Support Specialist
14 years 5 months ago #17038 by alzander
You're definitely correct that it's a memory issue. However, it's not necessarily caused directly by JFBConnect. Each extension on your site uses a little bit of memory. Enabling any other ones, when you're already close to your memory limit, could cause you to go overboard. A 25MB limit is pretty small of a limit, but still is well within a normal amount that should be needed to load a page.

JFBConnect connect has been very optimized to be as fast as possible, while using as little memory as we can. On this site, for instance, most page loads are about 11MB, with some 'heavy' ones going up to 18MB.

I'd recommend seeing if you can disable other, unused extensions, or increasing your memory limit for PHP. Another thing to check is disabling our plugin and turning on the "Debug System" option within the Global Configuration area of Joomla. Reload the offending page, and you'll be able to see the memory used 'before' our plugin. If it's anywhere near 25 (or even 20MB), that would explain why enabling just one more plugin causes the issue. If it's under 15MB, then that could indicate an issue with JFBConnect, as we shouldn't use 10+MB.

Hope that helps you narrow things down,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 5 months ago #17041 by alpertheidiot
thank you Alex, you are very helpful as always. seems like I have a 24mb limit, which Im trying to increase. pages use around 20mb alone, so when your plugin is enabled it exceeds the limit.

thank you for the excellent support.
The topic has been locked.
Support Specialist
14 years 5 months ago #17046 by alzander
No problem for the support. Just to clarify, this is a PHP setting, not a hosting issue. Mainly, want to make sure you understand that your host my provide 512MB on your server, but PHP is being limited to only 25MB per page. That's a safety net to make sure one page doesn't hog all the resources on your system.

Usually, it's a pretty easy change to increase the PHP limit, and just didn't want you going down the path of upgrading (paying more) for your server in general.

Anyways, hope that fixes you up, let us know how it goes, and good luck!
Alex
The topic has been locked.