🔴 January 2024 Alert: Forum support inactive!
New forum registration are currently closed.
Use GitHub discussions
.

    UVdesk

    • Login
    • Search
    • Recent
    1. Home
    2. devdevfrnt
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    devdevfrnt

    @devdevfrnt

    0
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    devdevfrnt Unfollow Follow

    Latest posts made by devdevfrnt

    • Getting "Memory allocation failed" while fetching emails

      Hello all,

      I'm having an issue while fetching new emails. When I run:

      php /home/path/to/bin/console uvdesk:refresh-mailbox email@example.com
      

      I'm getting the following:

       // previous ones are successful
      
      - Processing email 5 of 9: <--- issue
      
            ERROR Warning: DOMDocument::saveHTML(): Memory allocation failed : reaching arbitrary MAX_URI_LENGTH limit
      
      - Processing email 6 of 9: <--- next few are good...
      
            200 Received email from example@example.com. The contents of this email has already been processed. [tickets/18/#31]
      
      

      I only have like 9 emails to process, of which you can see two above. Out of those 9 emails, 3 fail due to the error message above. It seems to happen when the email it's importing is large (about 5-7MB in size with images and so on...).

      My memory_limit in php.ini is 4096M, which is more than enough.

      I saw a similar thread here, but the solutions didn't help as I already am able to process some emails.

      Any help is highly appreciated. Thanks!

      posted in Technical Help
      D
      devdevfrnt