1. soura123
  2. RO CSVI
  3. Friday, 06 June 2025
  4.  Subscribe via email
hi i m upgrading a site to joomla 5, (on joomla 3 everything was ok with imports)
but the same template pn the new site (same hosting same everything)
i get error

Symfony\Component\ErrorHandler\Error\OutOfMemoryError {#1501
#message: "Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 51008864 bytes)"
#code: 0
#file: "./public_html/username/libraries/vendor/laminas/laminas-diactoros/src/Stream.php"
#line: 234
-error: array:4 [
"type" => 1
"message" => "Allowed memory size of 134217728 bytes exhausted (tried to allocate 51008864 bytes)"
"file" => "/home/username/public_html/folder/libraries/vendor/laminas/laminas-diactoros/src/Stream.php"
"line" => 234
]
}



can you please help
Accepted Answer Pending Moderation
Hi,

(same hosting same everything)
Not really the same, you switched Joomla from 3 to 5 ;) I would also think that you switched PHP versions because you cannot run Joomla 5 on PHP 7.4.

The error you posted doesn't really tell us anything other than that you ran out of memory at 128MB. Is the memory setting the same for the PHP setup as before?

Other than that, you will need to provide more info as to when does it happen, what are you importing and the full debug info. This is only the last part of it but there should be a stack trace as well. This is usually on the second tab on the error page.

Let me know and we can check what is going on.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. 10 hours ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
i have set php.ini on php 8.3 as i had it on 7.4
i made a little test, and a template that is running from administrator RUN template
on cron get that error
also this template has no image proccess (i checked with and with out)
so now any ideas?
  1. 3 hours ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hi,

I still have very few ideas. No idea where it stops although with an out of memory it is usually random because you never know when you run out of memory. That it works via the administrator is explainable because the import is restarted every x items. A cron job runs continuous.

The first thing that comes to mind is that the php used for the cron job is not the same one used for the webservice. They often have different php.ini settings. Can you give the cron job more memory?
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. 4 minutes ago
  2. RO CSVI
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!