Search Results for 'memory'

Results from the Forum
Steven
tagDiv Member

I really think the culprit is that plugin Social Networks Auto Poster Facebook Twitter G – 0.1419 sec – 9.24%

the reviews on this plugin is so bad,seem every one complaining about the usage in memory..

Requires too much memory! By WillOfTheWeb, August 25, 2014 for WP 4.0
This plugin requires at least 64megs to run on the server which limits it to specific hosting packages.

It’s a brilliant plugin but it just requires too much resources! 🙁

Steven
tagDiv Member

You don’t need this also “JM Twitter Cards” the WordPress SEO already have that feature build in to they plugin..

The “Wordfence Security” is a very good plugin but if your using there “Live Traffic” feature then you going run in problems on your server end because it make ur CPU very high and use a lot of memory..i had to remove mine from my site and went with a more lightweight plugin call “All In One WP Security & Firewall”

Query Strings Remover you don’t need a plugin for that just add this code to the bottom of ur “functions.php”..

function remove_cssjs_ver( $src ) {
if( strpos( $src, ‘?ver=’ ) )
$src = remove_query_arg( ‘ver’, $src );
return $src;
}
add_filter( ‘style_loader_src’, ‘remove_cssjs_ver’, 10, 2 );
add_filter( ‘script_loader_src’, ‘remove_cssjs_ver’, 10, 2 );

Akismet you can removed if you use clouldflare because they protect you from comment spam in one those settings..

simchris
tagDiv Member

You need to contact your web hosting provider as the php.ini file sits “above” your account; meaning it’s not part of the public root which is normally seen via FTP. Depending on your web hosting account type, you may be able to change that setting under your web hosting control panel. See the help info for your hosting account on how to edit hosting settings; it’s generally on the same screen where you would set things like an SSL cert, memory limit, and the like. It’s not part of WordPress or the theme.

simchris
tagDiv Member

Exactly! A lot of theme developers work this way by including a “bundled” version vs making you go buy a copy, but the the new version adds some wonky thing which might break the theme. So, this is a good way to do it, but kind of annoying at times, if you’re easily annoyed by the “updates available” notice in the WP login screen 🙂

At least WP stopped the stupid email thing they had for a few versions … “email: you have updates available; I tried updating, but it didn’t work …” …. automatic updates not a great thing, in my book. (I turn them off in my wp-config.php file, actually.)

I think there have actually been more problems with YOAST SEO than any other plugin in recent memory. Three updates in one day sometimes … x1, x2 (OOPS DON”T USE IT), then x3 to fix the messup in x1 they didn’t fix right in x2, all in one day. Upshot: never install the new version of YOAST unless it’s to fix long standing bugs, as they often have a panic fix later on.

Sorry … didn’t mean to editorialize so much … 🙂

Steven
tagDiv Member

Here is somemore tips on what can give you a very bad google pagespeed score…

1. Ads (Google,amazon, etc) Ads really put a slowness on ur site that’s why i don’t use any ads on my site what so ever.

2. Sliders make ur site look very nice but they make ur site slow as well and i don’t use any sliders on my site.

3. Social sharing Bottons is something every one want on there site to get more traffic,but there is a lot of social sharing plugins that make ur site very slow because they don’t render correctly also they not coded good,if you want too use social sharing bottons on ur site my advice is to use the build in theme sharing bottons are find a good coded social sharing bottons like what i done that you will not even notice there even on ur site when it’s loading.

Recommendation from me for social sharing plugins as follow…

4. Ultimate Social Deux plugin i’m using on my site it’s coded correctly and very lightweight and look very nice on ur site with out slowing ur site down, in this case you will have no issues what so ever on ur pagespeed.

This plugin is not FREE you can buy it from this URL http://codecanyon.net/item/ultimate-social-deux/6556073

5. A lot of unnecessary plugins can also put a lot of stress on ur site speed and server and make problems with ur theme etc,try to find a plugin that have many things in one,in this way you cut down the total of ur plugins also the load on ur server.

6. A good hosting company is the main factor of a good google pagespeed as well,some people will go for very cheap hosting to save money but they don’t get what they pay for,some cheap hosting don’t care about ur speed etc so before you pay for any hosting make sure you know what they giving you and if there good are not.

My site is hosted with the same company that i’ve host my radio server and domain with and they give you more then your money can buy..they called “Listen2myradio.com” i was with them for a few yrs now and i never had problems what so ever with them and my site and radio always up 99.9%..

My hosting company give they users the max on every thing with they hosting packages which will make ur WP site run smooth with no issues with speed..

PHP Memory Limit: 256M
MySQL Version: 5.5.37
PHP Version: 5.5.14
PHP Max Upload Size: 2000M
PHP Max Post Size: 8M

More tips coming soon..

simchris
tagDiv Member

Demanding support won’t help. Sometimes folks need to second guess what you’re asking, or research past answers. Or, nobody else has had the issue, and so it might be local problem.

Two things I’ve seen, which may not apply to your case
1) javascript caching corrupt in your web browser; try clearing cache for browser
2) make sure you have enough memory allocated to PHP/etc., which ideally should be 128MB and not the default 16MB on some cheap hosting companies
3) make sure no automatic updates run on your install, as that can crash your admin sessions if something being updated in background
4) 404 error implies “site went away” which is common with either PHP or MySQL being overloaded; check with your server ERROR LOGS as this will TELL YOU what caused the error.

Hope that helps. Perhaps not.

simchris
tagDiv Member

@mehedi

“web safe fonts” refers to fonts built in to all web browsers (Google “web safe fonts”). So if you change your default fonts in your style.css file to not use ANY Google fonts, then you don’t need to load any fonts from Google (I’m using the gill sans “stack” myself). Then comment out the call to the google fonts in your functions.php file (line 48 I think, if memory serves).

This is a nice info page I usually refer people to:
http://cssfontstack.com/

To load Google fonts via your own CSS, this means that if you look at the line in your functions.php which would be loading the default google fonts for the theme (like pt sans and roboto or whatever), simply open the CSS from that link, and copy the CSS which is being loaded from Google …. then put that CSS at bottom of your style.css file … this way you’re loading the fonts directly from your CSS; not loading a CSS file externally which then loads the Google fonts … you’re cutting out a step, and removing one external file load over which you have no control. I do this on our main business site to load Open Sans from Google directly. This is a common fix for using Google fonts which has been around a few years now. 🙂

Hope that made sense.

I really need to write an ebook on this stuff with examples! 😉

  • This reply was modified 11 years by simchris.
  • This reply was modified 11 years by simchris.
  • This reply was modified 11 years by simchris.
Lucian
tagDiv Staff

Hi,

I have inspected your site and seems like there is a problem with the images you have uploaded and set as featured image on post as they are not cropped for some reason, my guess it’s because they are to large.
Please try to increase the memory limit, edit wp-config.php file and change the limit to 128M like this: http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP
You can also do this by editing the php.ini file and search for this line: memory_limit = 128M ; Maximum amount of memory a script may consume (128MB) and change it to 128M
If nothing works please try to resize those images and then re-upload them and the regenerate the thumbs.
Hope this helps!

Thanks

simchris
tagDiv Member

This is likely obvious but be sure to check the CORS settings on the CDN, to make sure the newer images have allowed permissions to load off your domain vs everyone, or if allowed for everyone make sure that’s still the setting. Also if the thumbs are not showing “suddenly” this obviously implies something changed on your site, server, or CDN connection (the theme cannot magically change something while you sleep, as you know) — perhaps the expirations were set to expire at certain time, or the CDN content needs to be expired and recaptured. Regenerating all the thumbnails might help, also. And check to make sure the folder permissions didn’t change (sometimes “touching” the image folder at server level can reset it). I’ve run into various things like this with our CDN setup last January until we got it dialed in. Check memory setting in case some pages running out of memory to generate or show images. Check the page source of a page missing thunbs and see what is in the spot if anything, such as bad link to an image, or image file name with spaces not getting corrected with the entity for blank spaces which would serve broken/missing images. Pardon stream of consciousness … 🙂

Steven
tagDiv Member

Hi @Manuel the best plugin right now is “Speed Booster” the owner done some awesome updates today and made the plugin more powerfull so i’m only using that one along side the “Leverage Browser Caching plugin”.


@thomaspe
i recommend you to use the “Speed Booster” plugin as well which work very well with the theme.

Speed Booster

Main Plugin Features

Eliminates external render-blocking javascript and css in above-the-fold content.

Moves scripts to the footer to improve page loading speed.

Loads CSS asynchronously to render your page more quickly and get a higher score on the major speed testing services.

Minify and inline all CSS styles and move them to the footer to eliminate external render-blocking CSS and optimize CSS delivery.

Lazy loads images to improve page load times and save bandwidth.

Changes image compression level to keep file sizes smaller.

Loads javascript files from Google Libraries rather than serving them from your WordPress install directly, to reduce latency, increase parallelism and improve caching.

Defers parsing of javascript files to reduce the initial load time of your page.

Removes query strings from static resources to improve your speed scores.

Removes extra Font Awesome stylesheets added to your theme by certain plugins, if Font Awesome is already used in your theme.

Removes junk header tags to clean up your WordPress Header.

Displays page loading time in the plugin options page.

Displays the number of executed queries in the plugin options page.

Displays the Peak Memory Used in the plugin options page.

Lucian
tagDiv Staff

Hi,

Please can you make the update again and make sure you replace all files via FTP. Follow this guides:
https://forum.tagdiv.com/how-to-update-the-theme/
https://forum.tagdiv.com/update-the-visual-composer-plugin-wpbakery/

Also try this, add define('WP_MEMORY_LIMIT', '128M'); in wp-config.php file

If nothing works can you give us access to your WP?, send us via email at contact@tagdiv.com and also if you can give us FTP access so we can take a look, specify the issue or send an URL to this topic.

Thanks

lee freeman
Participant
#0

Hi

http://www.kentparents.co.uk

If you stay on a page for 10 seconds the screen goes dark and at the top you see a fadded out message which says :

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 3362603 bytes) in /home/parents/public_html/wp-content/plugins/advanced-browser-check/browscap/browscap.php on line 950

Whats gone wrong now??? How do i fix this latest problem?

Thanks
Lee

lee freeman
tagDiv Member

Evening.

Thanks to everyone for their advice. Site is back to how it looked before!

THANKS

BUT……. if you stay on a page for 10 seconds the screen goes dark and at the top you see a fadded out message which says :

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 3362603 bytes) in /home/parents/public_html/wp-content/plugins/advanced-browser-check/browscap/browscap.php on line 950

Whats gone wrong now??? How do i fix this latest problem?

Lee

simchris
tagDiv Member

I think you need to remove them from the functions.php file, if memory serves.

simchris
tagDiv Member

@Thakksy
at this point likely good idea to look at your error logs to see WHAT is happening when you get a database connection error. For example, you might have somebody attacking your site and using up resources which is another cause of dbase connection error (it last happened to us during the U S SuperBowl). This means blocking the site(s) which are using up your resources, such as port scan, or loading/scanning all your site resources over and over.

For us the dbase connection issue has always been
1) not enough memory, had to fix this with move to new web server in Dec/Jan – upgrade the “defaults”
2) overload the dbase from some bad search spider hitting the entire site over and over… you can try to “throttle” that – I think there is a directive for robots.txt for Bing and some others (or use IPTables to limit concurrent connections) to say only load one page per minute– but no guarantee it will be followed.

With (2) you can often look at your logs to see WHO is doing bad behavior, or some spider which is using your search engine to troll site for content bits, etc.

Hope that helped a little.

Thakksy
tagDiv Member

thanks for the information, decided to delete speed booster as the site didn’t display correctly in IE but was fine in Chrome! Just gonna stick to Total Cache. Changed my PHP memory too using a php.ini file and a day after i changed it to 128mb i had another database connection error, lol!

simchris
tagDiv Member

@Thakksy
Yeah. It’s an adventure. Wasted most of this past January just on this kind of thing.

May not apply to your setup, but often that database connection error is from MySQL/PHP getting overloaded (‘the database has gone away’). Be sure to increase the memory limit for your hosting account. Sometimes the default is 32MB or 64MB, and really should be 128 or 256. (Mine is 1MB, but dedicated server).

simchris
tagDiv Member

HI, if memory serves, as with most themes, it writes the new custom CSS into the header of the live page. Put some custom CSS in panel, then check the header section of a post page file to see 🙂

I use a couple of custom CSS things on our sites, only because in some versions of theme and our setup some stuff like the today’s date color setting didn’t work, and I also use Disqus but wanted some more spacing between the banner ad and start of the comments module. Was easy to just put those there than go back to the main css.

In the old days themes would often have a custom.css file to put custom code, particularly with child themes. However, “redirects” of CSS files from child theme kind of made that a fools errand for SEO. (Google doesn’t like the style redirects.)

Common method for any minor custom CSS stuff is to put into the header anyway, after call to main CSS file.

But perhaps Marius,Emil,Etc. may have better answer to that.

  • This reply was modified 12 years by simchris.
Radu A
tagDiv Member

hi,
duos your site works?

Thanks for you message.
Radu A.

petrkubala
Participant
Memory - topic
#0

Hi,

Memory usage 46.95 MB is normal? Previous theme approximately 15 MB.

Marius
tagDiv Staff

Hi,
You need to increase the memory limit size, add this in wp-config.php

/** Memory Limit */
define('WP_MEMORY_LIMIT', '128M');

Thanks for the message!

markdesignbr
tagDiv Member

Hi Radu.
I have a problem, whenever I try to activate the Jetpack it the following error:

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 122880 bytes) in /home/storage/1/a8/60/lagoeventos1/public_html/site/wp-admin/includes/post.php on line 281

What should I do when this happens? Could you tell me?
Thank you

nandomogollon
tagDiv Member

Hi
I’m having the same issue.
I’m using WordPress 3.9.1, Newspaper V1.2.
Have already added

/** Memory Limit */
define('WP_MEMORY_LIMIT', '128M');

and deactivated all plugins.
Still nothing.

This is a serious issue, please give us a straight forward solution, or even better an update that solves the problem.

Your help will be greatly appreciated.

Nando M

Peter
Participant
#0

Hi there,

I have set up my site on my local server and had everything working perfectly. I then migrated several times with different methods but each time I have the same broken theme which is currently live: http://coconutoilpost.com

I have gone back to my development site and deactivated all the plugins which then broke mainly the home page. I then worked through and found the issue with your integration with WPBakery Visual Composer, all other plugins work on the development site. The issue was the same with wp 3.9 and with 3.9.1 – Theme version 3.8 – Media Bakery 4.1.2

The issues are:
1. When logged in the front page admin bar not showing
2. Drop down mega menu not working
3. Search bar not working
4. Bottom page related articles pop up not working.
5. Back forward navigation not working.
6. Category Background images not working.

Here we are with the error messages with All plugins turned off:

( ! ) Fatal error: Call to undefined function wpb_js_remove_wpautop() in /Users/Icon/Documents/Websites/coconutoilpost.dev/wp-content/themes/Newspaper/includes/shortcodes/td_text_with_title.php on line 30
Call Stack
# Time Memory Function Location
1 0.0093 310272 {main}( ) ../index.php:0
2 0.0131 313392 require( ‘/Users/Icon/Documents/Websites/coconutoilpost.dev/wp-blog-header.php’ ) ../index.php:17
3 0.1704 21169656 require_once( ‘/Users/Icon/Documents/Websites/coconutoilpost.dev/wp-includes/template-loader.php’ ) ../wp-blog-header.php:16
4 0.2031 21516928 include( ‘/Users/Icon/Documents/Websites/coconutoilpost.dev/wp-content/themes/Newspaper/page-homepage-blank.php’ ) ../template-loader.php:74
5 0.8090 25106152 the_content( ) ../page-homepage-blank.php:13
6 0.8091 25108296 apply_filters( ) ../post-template.php:211
7 0.8106 25112024 call_user_func_array ( ) ../plugin.php:192
8 0.8106 25112056 do_shortcode( ) ../plugin.php:192
9 0.8107 25113504 preg_replace_callback ( ) ../shortcodes.php:201
10 1.5932 29247360 do_shortcode_tag( ) ../shortcodes.php:201
11 1.5933 29247824 call_user_func ( ) ../shortcodes.php:287
12 1.5933 29247864 td_text_with_title->render( ) ../shortcodes.php:287

That’s all I can find at the moment. Hope all can be sorted out.

Many thanks

Peter

nusagrunge
tagDiv Member

We encounter the same problem. Finally, we upgrade to VPS. But the problem is still same. High CPU usage and high memory load.

Any suggest?

Viewing 25 results - 2,976 through 3,000 (of 3,046 total)