You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made a mistake, so I can't help but get an error.
× $this->prop
〇 static::$prop
After waiting quite a while Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 13320990 bytes) in
error is displayed.
Looking at the long trace trigger_error( $message = 'Access to undefined property
I gradually found the cause.
In addition, the server often stops due to the lack of usable memory (because Docker is placed on WSL2, vmmem occupies more than 20GB out of 32GB).
Is it unavoidable due to Phalcon's specifications to wait for such a long time and eat up memory?
The server is installed as follows (in Dokerfile) after adding what is considered necessary to php:8.1-fpm-buster.
curl -LO https://github.com/phalcon/cphalcon/archive/v5.0.0RC4.tar.gz
tar xzf v5.0.0RC4.tar.gz
docker-php-ext-install -j$(nproc) ${PWD}/cphalcon-5.0.0RC4/build/phalcon
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I made a mistake, so I can't help but get an error.
After waiting quite a while
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 13320990 bytes) in
error is displayed.
Looking at the long trace
trigger_error( $message = 'Access to undefined property
I gradually found the cause.
In addition, the server often stops due to the lack of usable memory (because Docker is placed on WSL2, vmmem occupies more than 20GB out of 32GB).
Is it unavoidable due to Phalcon's specifications to wait for such a long time and eat up memory?
The server is installed as follows (in Dokerfile) after adding what is considered necessary to php:8.1-fpm-buster.
Beta Was this translation helpful? Give feedback.
All reactions