Cloud Templates Requires Huge Amount of Memory

Posted in: Newspaper
Post count: 44

I have a number of other issues reported, but I think I’ve tracked down the overall problem with Cloud Templates.

On some sites Cloud Templates loads just fine and shows the “Add New” button.
On some sites Cloud Templates loads, but do NOT show the “Add New” button.
On some sites Cloud Templates just errors with error 500.

I tried the advice you provided on another ticket to increase memory, and I found that when I increase memory, the more I do that, the more sites starts working. In fact, the memory required increase proportionally to the number of posts I have on my sites.

  • Site with 100 posts seems to always work, and the Cloud template page loads fast.
  • Sites with 100-8000 posts works with 256M
  • Sites with 8-1000 posts can load the cloud templates at 256MB, but does not show ADD NEW button until memory is increased to 512M, then the Add New button appears. Note that at 386M the button does NOT appear
  • On a site with 65,000 posts, I don’t have enough memory to get the button to show up, but at 4096M I can get the Cloud Template page to load.

So, The FIRST thing that works as I start adding memory is the page starts loading again. As I add more memory, the “Add New” button starts working again later.

So, clearly, the amount of memory required from the Cloud Templates depends on how many posts the site has, which is a huge problem. If I was to guess, it’s because your “used on” column checks all the content, but inadvertently uses a TON of memory.

If you can fix this in a new release I think you could solve a bunch of other problems I have (And others will have), where the Cloud Templates won’t work on large sites.

Post count: 23312

Hi,

Yes, we know about this problem and also, we are looking to fix it as soon as possible. Until we will make this, please try to overwrite the code from tdb_cpt.php from here -> https://www.screencast.com/t/8oSNT9a18j with code from here -> https://pastebin.com/8D253Evp Clear all the caches, purge CDN files and check the results. If the problem persists, please send us an email at contact@tagdiv.com with your log-in information (wp-admin) and CPanel so we can take a closer look at it.

Thanks for your understanding!

Post count: 44

That seems to work without the huge memory setting. The page still loads a bit slow on sites with a lot of posts, BUT… it loads, AND the button shows up.

You guys gotta get this released in the next update.

Thanks for the help. Note that a bunch of my other problems went away with this fix, so maybe tell your support team that this fixes the missing button problem and error 500 loading of cloud templates problem too (It might help others).

Thanks.

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.