Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 93465 bytes) in /home/givingbi/public_html/prosepoint-0.03/includes/database.mysqli.inc on line 303

Asked by Irina

Hi,

I wanted to install ProsePoint 0.3. The installation was smooth until the end, where I choose the option to have a site with minimal content on which to build my own.
I got this error:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 93465 bytes) in /home/givingbi/public_html/prosepoint-0.03/includes/database.mysqli.inc on line 303

What can I do to continue the isntallation?

Thank you very much for the answer.

Irina

Question information

Language:
English Edit question
Status:
Answered
For:
ProsePoint Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
bengtan (bengtan) said :
#1

Hi,

That error indicates ProsePoint ran out of memory. ProsePoint is a PHP script and, by default, such scripts are limited to about 2Mb (or some other low value) of maximum memory.

The setting for this is usually kept in php.ini and looks something like ...

memory_limit = 16M

You want to change it to something like ...

memory_limit = 32M

The recommended memory limit is 32Mb, although if you are expecting to work with images of more than around 1000x1000 pixels, you might want to go to 64Mb.

The location of php.ini will depend on what server setup you are using. If you are on a shared hosting account, you may need to get your hosting provider to change it for you.

For more info on PHP requirements, see http://www.prosepoint.org/docs/php-requirements.html.

If you still have problems, please let us know.

Thank you for using ProsePoint!

Revision history for this message
Irina (irinanaskinova) said :
#2

Hi Bengtan,

Thank you very much for your detailed answer.
I went about changing the PHP memory limit and hope that it will work great this time!

Thanks for the good work!

Irina

Irina Naskinova

--- On Sat, 9/20/08, bengtan <email address hidden> wrote:

From: bengtan <email address hidden>
Subject: Re: [Question #45582]: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 93465 bytes) in /home/givingbi/public_html/prosepoint-0.03/includes/database.mysqli.inc on line 303
To: <email address hidden>
Date: Saturday, September 20, 2008, 5:14 AM

Your question #45582 on ProsePoint changed:
https://answers.launchpad.net/prosepoint/+question/45582

    Status: Open => Answered

bengtan proposed the following answer:
Hi,

That error indicates ProsePoint ran out of memory. ProsePoint is a PHP
script and, by default, such scripts are limited to about 2Mb (or some
other low value) of maximum memory.

The setting for this is usually kept in php.ini and looks something like
...

memory_limit = 16M

You want to change it to something like ...

memory_limit = 32M

The recommended memory limit is 32Mb, although if you are expecting to
work with images of more than around 1000x1000 pixels, you might want to
go to 64Mb.

The location of php.ini will depend on what server setup you are using.
If you are on a shared hosting account, you may need to get your hosting
provider to change it for you.

For more info on PHP requirements, see http://www.prosepoint.org/docs
/php-requirements.html.

If you still have problems, please let us know.

Thank you for using ProsePoint!

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/prosepoint/+question/45582/+confirm?answer_id=0

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/prosepoint/+question/45582

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
bengtan (bengtan) said :
#4

Hi, I presume this issue has been resolved.

Revision history for this message
Irina (irinanaskinova) said :
#5

Hi bengtan,

Thank you! The installation was successful. I really appreciate your help.

Irina :-)

Irina Naskinova

--- On Mon, 10/6/08, bengtan <email address hidden> wrote:
From: bengtan <email address hidden>
Subject: Re: [Question #45582]: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 93465 bytes) in /home/givingbi/public_html/prosepoint-0.03/includes/database.mysqli.inc on line 303
To: <email address hidden>
Date: Monday, October 6, 2008, 12:39 PM

Your question #45582 on ProsePoint changed:
https://answers.launchpad.net/prosepoint/+question/45582

    Status: Expired => Answered

bengtan changed the question status:
Hi, I presume this issue has been resolved.

--
You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
bengtan (bengtan) said :
#6

Hi, Good to hear that.

I'm going to mark this question as answered.

Please don't comment any further on this question, otherwise Launchpad will re-open it. Unless, of course, you run into other problems.

Have a nice day.

Revision history for this message
Vint (iphimeda) said :
#7

I had the exact same problem occurring, blank page in stead of admin/build/modules

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1663861 bytes) in /var/www/vhosts/xxx/httpdocs/includes/database.mysqli.inc on line 303

of course upping the PHP memory limit solved this, BUT between a working modules page and the blank one with PHP memory limit error the only thing I did was installing ZEN & the 'The Morning After' theme.

Access logs for drupal do not show an attempt to load admin/user/drupal when an admin is trying to reach it.
Access logs also report Page Not Found: 'sites/all/themes/tma-6.x-1.1/tma/tma/foo.gif' (but hardly think this could cause it)

It's solved, but can this be theme related?

Vint

Revision history for this message
bengtan (bengtan) said :
#8

Hi,

I'm not sure if I understand your issue correctly, so I'll try to answer as best as I can.

Every single module (and theme) that's enabled increases the amount of memory that used by ProsePoint. Your setup might be marginal enough that enabling an extra component or two has tipped it over the 32Mb mark, that's all.

The message "Page Not Found: 'sites/all/themes/tma-6.x-1.1/tma/tma/foo.gif" can be ignored. That image is supposed to be a non-existent file.

Anyway, if you'd like to follow this discussion up, please file a new question or bug. I would prefer this question remains closed so we don't cause extraneous emails to be sent to the original poster.

Can you help with this problem?

Provide an answer of your own, or ask Irina for more information if necessary.

To post a message you must log in.