Open suad2017 opened 7 years ago
Hi @sterpe ,
Can you help whith this issue?
Thanks, Suad
Hi @jacobmischka ,
Can you help whith this issue?
Thanks, Suad
Sorry, not sure. I ended up using regular xmllint on the desktop instead.
I'm seeing the same issue: Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 16777216, (2) compile with ALLOW_MEMORY_GROWTH which adjusts the size at runtime but prevents some optimizations, or (3) set Module.TOTAL_MEMORY before the program runs
It's for a fairly large XML (12 MB) I assume it's either trying to validate the entire thing in one go and hitting a nodeJs memory limit (Ubuntu 21.10 Core i9 processor 32 GM RAM - not an OS RAM issue per se) perhaps an application issue just not handling larger files correctly, or a memory leak
IE - Error: Out of memory I have xml file, the file size is 2KB, and it is XSD valid When I run xmllint.validateXML with TOTAL_MEMORY = 1073741824 I get Out of memory This happen only in IE in Chrome it work fine
When I update the TOTAL_MEMORY to 2147483648 I get the error Invalid function argument
Can you advice?
Thanks, Suad