OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums Forums OroCommerce HTTP Erro 500

This topic contains 3 replies, has 2 voices, and was last updated by  Michael 7 years, 7 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #31256

    max0222
    Participant

    I cannot open my website, it shows me Http Erro 500

    and I check the log, it shows me:
    PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /home/yenspack/oro/vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php on line 296

    anyone can help?
    thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #31257

    Michael
    Keymaster

    Please check the system requirements – https://www.orocrm.com/doc/current/system-requirements
    It appears you did not set the memory_limit properly, as 134217728 bytes = 128 MB. You need to update your memory_limit setting to 512 MB or more.

    #31258

    max0222
    Participant

    Hi,
    Can you tell me where to set the memory_limit setting please?

    thank you

    #31259

    Michael
    Keymaster

    memory_limit is usually set in the php.ini configuration file – http://php.net/manual/en/ini.core.php#ini.memory-limit

    The location of the php.ini file depends on the operating system, web-server configuration, and PHP setup itself. If you have access to the command line, run php -i | grep "Loaded Configuration File" to find where your php.ini file is. For example, on my laptop it shows:

Viewing 3 replies - 1 through 3 (of 3 total)

The forum ‘OroCommerce’ is closed to new topics and replies.

Back to top