HELP REQUIRED SQL issue Fatal error: Allowed memory size of 157286400 bytes exhausted

Discussion in 'MySQL' started by mogily77, May 3, 2010.

  1. #1
    Hi

    I am getting the following error message, when trying to install an application onto my server:-

    Fatal error: Allowed memory size of 157286400 bytes exhausted (tried to allocate 40 bytes) in C:\vhosts\mobile-makeover.co.uk\httpdocs\spryflash\phpCore\classes\dbclass\CmyDB_class.php on line 205

    I changed the following line to reflect the 150mb shown above, in the php.ini as below:-

    memory_limit = 150M ; Maximum amount of memory a script may consume (150MB)

    I am pretty sure the install doesnt take any more then the 150mb I have permitted, so Im sure its something else.

    So Im pretty stuck, as very new to server technology. I am using PLESK 9.3 control panel with APACHE TOM CAT, on WINDOWS 2008 SR2 server.

    I was asked to create the file for the install, which I did on PLESK. I dont have anything to get at the database itself, like MYSQL or Windows SQL server 2008, and would have no idea on how to run them.

    Would prefer a more PLESK has ASP.NET, which looks pretty bad.

    Does any one have any ideas?

    Many thanks for reading this issue.

    Best regards



    Anil
     
    mogily77, May 3, 2010 IP
  2. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #2
    Allow more. The script is consuming more than 150Mb.
     
    jestep, May 4, 2010 IP
  3. crashus

    crashus Active Member

    Messages:
    90
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    53
    #3
    You should look at your error message once again - 157286400 is exactly 150*1024*1024 :D

    Just allow more, maybe even unlimited for installation
     
    crashus, May 6, 2010 IP