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

Memory allocated exception on version 7.3.7 #436

Closed
fefo-p opened this issue Aug 25, 2023 · 1 comment
Closed

Memory allocated exception on version 7.3.7 #436

fefo-p opened this issue Aug 25, 2023 · 1 comment

Comments

@fefo-p
Copy link

fefo-p commented Aug 25, 2023

  • Laravel v9.52.15
  • PHP 8.1.7 (cli) (built: Jun 7 2022 18:21:38) (NTS gcc x86_64)
  • Spatie laravel-event-sourcing 7.3.7
  • OS Linux hostname 4.18.0-373.el8.x86_64 SMP Tue Mar 22 15:11:47 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

This error occurs when trying to write an event into the database. Every post route I have writes, at least, one event into the DB.

No other error appears but the following one.

[2023-08-25 13:13:23] production.ERROR: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) {"userId":607,"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\FatalError(code: 0): Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) at /var/www/proveedores-cm/vendor/spatie/better-types/src/Handlers.php:70)
[stacktrace]
#0 {main}
"}

A completely dark screen appears when issuing a post on whichever form I have.

I had to return to version 7.3.5 and it started working fine.

If I could give any more info, please let me know

@fefo-p
Copy link
Author

fefo-p commented Aug 31, 2023

Solved in #437

@fefo-p fefo-p closed this as completed Aug 31, 2023
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

1 participant