|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77212 Memory allocation failed : growing buffer on aws server
Submitted: 2018-11-28 13:09 UTC Modified: 2018-11-28 15:18 UTC
From: sujaljhaonly4u at gmail dot com Assigned:
Status: Not a bug Package: SimpleXML related
PHP Version: 5.6.38 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: sujaljhaonly4u at gmail dot com
New email:
PHP Version: OS:


 [2018-11-28 13:09 UTC] sujaljhaonly4u at gmail dot com
Hi, i am receiving this message when i am trying to parse the 1.7gb xml file for inserting on aws server.
Memory allocation failed : growing buffer..
please help me out!

Thank You,

Sujal Jha

Test script:
$dir = '../product_feeds/tata cliq';
$file= "tata_cliq_fashion.xml";
$data = file_get_contents($dir.'/'.$file);
$arr = simplexml_load_string((string)$xml);
foreach( libxml_get_errors() as $error ) {


Expected result:
SimpleXMLElement Object
    [Product] => Array
            [0] => SimpleXMLElement Object
                    [ProductID] => 1065005367
                    [ProductSKU] => A08160
                    [ProductName] => WOMEN'S TRAINING STELLASPORT WOVEN SHORTS
                    [ProductDescription] => Stella McCartney inspired adidas SC Woven shorts for women. It comes with an Elasticated waist with two side pockets, one back zipped pocket and all-over 'Stellasport' branding.
                    [ProductPrice] => 1000.00
                    [ProductPriceCurrency] => INR
                    [WasPrice] => 2499.00
                    [DiscountedPrice] => 0.00
                    [ProductURL] =>!product/A08160_scwovenshort
                    [PID] => 17736
                    [MID] => 929898
                    [ProductImageMediumURL] =>
                    [StockAvailability] => In stock
                    [Brand] => SPORT PERFORMANCE
                    [custom1] => Gender - Female
                    [custom2] => AgeGroup - Adult
                    [CategoryName] => SHORTS (1/4)
                    [CategoryPathAsString] => Root|TEXTILES|SHORTS (1/4)|


add-fronk-support (last revision 2018-11-28 13:15 UTC by sujaljhaonly4u at gmail dot com)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-11-28 14:19 UTC] spam2 at rhsoft dot net
this is a bugtracker and not a support forum!

contact your administrator and make sure you have *at least* twice the memory of stuff you want to proceed available and that there are no resource limits
 [2018-11-28 15:18 UTC]
-Status: Open +Status: Not a bug
 [2018-11-28 15:18 UTC]
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Dec 09 19:01:27 2023 UTC