Bug #48809 [Com]: "virtual memory exhausted: Cannot allocate memory" with libmagic/apprentice.c

From: Date: Sat, 13 Mar 2021 00:35:26 +0000
Subject: Bug #48809 [Com]: "virtual memory exhausted: Cannot allocate memory" with libmagic/apprentice.c
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-232682@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=48809&edit=1

 ID:                 48809
 Comment by:         erbert1983 at gmail dot com
 Reported by:        ibboard at gmail dot com
 Summary:            "virtual memory exhausted: Cannot allocate memory"
                     with libmagic/apprentice.c
 Status:             Wont fix
 Type:               Bug
 Package:            Compile Failure
 Operating System:   CentOS 4
 PHP Version:        5.3.0
 Block user comment: N
 Private report:     N

 New Comment:

http://www.popbopshopblog.com/2009/08/summer-concert-john-legend
http://www.popbopshopblog.com/2009/08/shop-tea-two-tea-you
http://www.popbopshopblog.com/2009/08/dining-out-barking-crab
http://www.popbopshopblog.com/2009/08/rental-review-what-doesnt-kill-you
http://www.popbopshopblog.com/2009/08/shop-breathtaking-bridal
https://theq.qcc.edu/ICS/Campus_Life/Campus_Groups/Music_Club/Discussion.jnz?portlet=Forums&screen=PostView&screenType=change&id=dade1a24-c0e0-4180-91a7-0ac881f76f7f&p=2
https://my.quincy.edu/ICS/Campus_Life/Campus_Groups/Chalk_Hawks/Discussion.jnz?portlet=Forums&screen=PostView&screenType=change&id=325e610c-cfbc-470c-85a4-d3fc8642f506
https://theq.qcc.edu/ICS/Campus_Life/Campus_Groups/Music_Club/Discussion.jnz?portlet=Forums&screen=PostView&id=86354319-b241-4b48-82a6-8dfe21aa3b73
https://my.quincy.edu/ICS/Campus_Life/Campus_Groups/Chalk_Hawks/Discussion.jnz?portlet=Forums&screen=PostView&screenType=change&id=3b24bd44-3797-4376-b2d6-5d716749adbb
https://my.quincy.edu/ICS/Campus_Life/Campus_Groups/Chalk_Hawks/Discussion.jnz?portlet=Forums&screen=PostView&screenType=change&id=21808b9a-c237-4ead-b586-e8df9c5c7222
https://my.quincy.edu/ICS/Campus_Life/Campus_Groups/Chalk_Hawks/Discussion.jnz?portlet=Forums&screen=PostView&screenType=change&id=68572178-efd4-449d-a312-163a4744d5af
https://my.quincy.edu/ICS/Campus_Life/Campus_Groups/Chalk_Hawks/Discussion.jnz?portlet=Forums&screen=PostView&screenType=change&id=0748d573-c34e-481c-b324-ce1b5985ef98


Previous Comments:
------------------------------------------------------------------------
[2021-03-12 02:48:52] seocontentmachinez at gmail dot com

http://www.google.com/url?q=https%3A%2F%2Fblogeral.com
http://www.google.com.br/url?sa=t&url=https%3A%2F%2Fblogeral.com
https://www.youtube.com/redirect?q=https%3A%2F%2fblogeral.com
https://www.youtube.com/redirect?event=channel_description&q=https%3A%2F%2Fblogeral.com
https://www.bing.com/news/apiclick.aspx?ref=FexRss&aid=&tid=9BB77FDA801248A5AD23FDBDD5922800&url=https%3A%2F%2fblogeral.com

------------------------------------------------------------------------
[2021-03-12 02:45:42] seocontentmachine11 at gmail dot com

The following pull request has been associated:

Patch Name: Update Swoole ini
On GitHub:  https://github.com/php/doc-en/pull/486
Patch:      https://github.com/php/doc-en/pull/486.patch

------------------------------------------------------------------------
[2021-03-06 15:29:50] vcd50802 at zwoho dot com

"Quite a bit" of memory? That seems like a bit of an understatement when it will quite
happily consume over 350MB of memory on a single file and previous versions of PHP could be compiled
in ~150MB or less (albeit without that extension) :D

Maybe libmagic needs disabling as a default module if it was in PECL before and is known to causes
problems with older compilers?

How much memory am I expected to need to compile it if it fails with 350MB? I've just watched
'top' while the compile continued and it maxed out at ~120MB without libmagic, which is
far more reasonable.


http://images.google.pt/url?sa=t&url=https://www.news000k.com/2020/05/Elantra.html


http://images.google.pt/url?sa=t&url=https://www.news000k.com/2020/05/Maserati.html

http://images.google.pt/url?sa=t&url=https://www.news000k.com/2020/05/Golf.html

http://images.google.pt/url?sa=t&url=https://www.news000k.com/2020/06/BMW.html

------------------------------------------------------------------------
[2021-02-03 16:50:37] cttratamentodroga at gmail dot com

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
<a href="https://www.fluocomunicacao.com.br/">agencia
de marketing digital</a>and the instructions on how to report
a bug at <a href="https://www.fluocomunicacao.com.br/">agencia
de marketing digital</a>
This is the correct behaviour.

------------------------------------------------------------------------
[2021-02-03 16:50:16] cttratamentodroga at gmail dot com

Thank you for taking the time to write to us, but this is not<br>a bug. Please double-check
the documentation available at<br><a href="https://www.ctsaudepremium.com.br/"
rel="nofollow">clinica de recuperação</a> and the instructions on how to
report<br>a bug at <a href="https://www.ctsaudepremium.com.br/"
rel="nofollow">clinica de recuperação</a>
a

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=48809


--
Edit this bug report at https://bugs.php.net/bug.php?id=48809&edit=1


Thread (38 messages)

« previous php.bugs (#232682) next »