tadija / AEXML

Swift minion for simple and lightweight XML parsing
MIT License
1.01k stars 200 forks source link

Huge memory usage with base64 strings in xml. #141

Closed nzatsepilov closed 6 years ago

nzatsepilov commented 6 years ago
  1. Create an XML base64 data.
  2. Create AEXMLDocument

For example in my project I've received xml with ~ 3mb file encoded in base64 string. Parse it consumes ~ 1gb ram. Of course I had app crash.

tadija commented 6 years ago

Hi @Clanat, are you using the latest version? Could this be somehow related to #117 ?

nzatsepilov commented 6 years ago

I'm using pod 'AEXML', '~> 4.1.0'. I think it's related with xml parsing.

tadija commented 6 years ago

Well please try the latest version (4.2.2), as this was probably fixed with #117.