Reads the xml baseline file and parses all of its articles, returning a large array.
Note, you may need to increase the RAM allocated to the node process in order to parse the entire xml file without streaming.
If you get a memory error, try increasing RAM by running export NODE_OPTIONS=--max_old_space_size=4096 before launching the node process.
Below is example usage.
Reads the xml baseline file and parses all of its articles, returning a large array. Note, you may need to increase the RAM allocated to the node process in order to parse the entire xml file without streaming. If you get a memory error, try increasing RAM by running
export NODE_OPTIONS=--max_old_space_size=4096
before launching the node process. Below is example usage.