Jump to content

XML Parsing problem


phporcaffeine

Recommended Posts

I have an XML file with 800,000 nodes.

 

I have a script that loads, reads and parses the file (it places all the XML node into a stack) however 800,000 nodes is to much and it causes PHP to hit a memory limit. I have bumped up mem_limimt all the way to 700M but no luck.  Is there a max to the size of a stack and if so does anyone have a way around this?

 

The goal is to load all nodes and then apply a simple sort() function.

 

Thanks in advance.

Link to comment
https://forums.phpfreaks.com/topic/136868-xml-parsing-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.