Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XML Stream Timeouts #238

Open
tassosm opened this issue Jan 16, 2025 · 5 comments
Open

XML Stream Timeouts #238

tassosm opened this issue Jan 16, 2025 · 5 comments

Comments

@tassosm
Copy link

tassosm commented Jan 16, 2025

I upgraded a Joomla 3 site to Joomla 4 and Akeeba Release from 6.0.3 to 7.4.0.

Now, when accessing an XML stream (Normal Directory Type) with 100+ releases, it results in the following error:

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /home/site/public/libraries/src/Log/LogEntry.php on line 126

It works if I increase the memory limit from 128M to 256M.

There's no error if I access other XML streams with fewer releases.

Is it normal?

Can I limit the releases in the XML? The category in question uses the Normal Directory Type.

PS: The same XML stream URL in Joomla 3 with Akeeba Release 6.0.3 works fine and loads instantly.

Environment:

  • Joomla 4.4.10
  • PHP 8.3.15
  • Akeeba Release 7.4.0
@nikosdion
Copy link
Member

nikosdion commented Jan 16, 2025 via email

@tassosm
Copy link
Author

tassosm commented Jan 17, 2025

Καλημέρα Νίκο,

Αυτό ήταν! Δεν πήγε καν το μυαλό μου.

Κάτι τελευταίο. Γιατί το παρακάτω environment μου το βγάζει πλέον λάθος;

joomla/((3\.(8|9|10|11))|(4\.(0|1|2|3|4|5))|(5\.(0|1|2|3|4|5)))

Image

@nikosdion
Copy link
Member

nikosdion commented Jan 17, 2025 via email

@tassosm
Copy link
Author

tassosm commented Jan 17, 2025

Εάν μπορείς να έχεις regex στα environments του ARS.

Υποθέτω ήθελες να γράψεις "Δεν μπορείς".

Εξαιρετική ιδέα το Liar mode. Θα το υλοποιήσω όπως λες.

Να'σαι καλά. Καλημέρα!

@nikosdion
Copy link
Member

nikosdion commented Jan 17, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants