Post by ygupta133 » Mon Jan 30, 2017 3:15 pm

Hi,

I am facing allowed memory error in google.base.php

Thanks,
Last edited by ygupta133 on Sat Feb 04, 2017 2:14 pm, edited 2 times in total.

Newbie

Posts

Joined
Mon Jan 30, 2017 3:00 pm

Post by uksitebuilder » Mon Jan 30, 2017 4:34 pm

You can try to increase memory via your php.ini file (if your server allows it and you have enough memory available)

Or you can try an extension such as ours (see my signature) which allows you to either split the feed into smaller feeds and thus uses less memory for each smaller feed generation or turn on the advanced option and use a cron job that will generate the feed in one but do it in small batches.

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by ygupta133 » Wed Feb 01, 2017 3:13 am

Ok, Can you tell me how much memory i need to increase from server ? php.ini file not increase memory limit .My server by default memory is 32M.I am using shared hosting and second thing is that if i purchase extension (Google merchant feed) than allowed memory issue will be resolved are sure 100% ? or it is really server memory issue ?

Newbie

Posts

Joined
Mon Jan 30, 2017 3:00 pm

Post by uksitebuilder » Wed Feb 01, 2017 3:28 am

32Mb is extremely low, even for shared hosting. Normally you get 64Mb

Our extension will generate the feed, but, depending on how many products you have, you could end up with quite a lot of feeds, as they would need to be fairly small to not exhaust such low memory availability.

I strongly recommend moving away from Shared hosting, especially if you are serious about your online business.

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by ygupta133 » Sat Feb 04, 2017 2:27 pm

uksitebuilder wrote:32Mb is extremely low, even for shared hosting. Normally you get 64Mb

Our extension will generate the feed, but, depending on how many products you have, you could end up with quite a lot of feeds, as they would need to be fairly small to not exhaust such low memory availability.

I strongly recommend moving away from Shared hosting, especially if you are serious about your online business.
ygupta133 wrote:I have approx 900 products . and i have increase memory limit also but i am facing same issue

Newbie

Posts

Joined
Mon Jan 30, 2017 3:00 pm

Post by uksitebuilder » Sat Feb 04, 2017 5:21 pm

How many products do you have ?

More than 1000 ?

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by ygupta133 » Sun Feb 05, 2017 3:42 am

uksitebuilder wrote:How many products do you have ?

More than 1000 ?
ygupta133 wrote: I have approx 800 to 900 products . and my server memory limit (internal memory is 512M) and physical memory is same 512 MB

but i am facing same issue "Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 60136 bytes) in catalog/controller/feed/google_base.php line 105 .

Thanks

Newbie

Posts

Joined
Mon Jan 30, 2017 3:00 pm

Post by uksitebuilder » Sun Feb 05, 2017 4:00 am

Well, something is eating all your memory.

But not easy for me to tell you exactly what it is.

If you were using our extension, I could debug and find which product/products is/are causing the issue, but that is almost impossible using OpenCart's built-in google base feed.

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by ygupta133 » Sun Feb 05, 2017 7:40 pm

uksitebuilder wrote:Well, something is eating all your memory.

But not easy for me to tell you exactly what it is.

If you were using our extension, I could debug and find which product/products is/are causing the issue, but that is almost impossible using OpenCart's built-in google base feed.
uksitebuilder wrote:Well, something is eating all your memory.

But not easy for me to tell you exactly what it is.

If you were using our extension, I could debug and find which product/products is/are causing the issue, but that is almost impossible using OpenCart's built-in google base feed.
ygupta133 wrote: Ok . Which extension i will need to purchase . can you send me link ?

Newbie

Posts

Joined
Mon Jan 30, 2017 3:00 pm

Post by uksitebuilder » Sun Feb 05, 2017 7:51 pm

It's the first one in my signature below after my logo

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom
Who is online

Users browsing this forum: No registered users and 13 guests