Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IE - Error: Out of memory #19

Open
suad2017 opened this issue Aug 2, 2017 · 4 comments
Open

IE - Error: Out of memory #19

suad2017 opened this issue Aug 2, 2017 · 4 comments

Comments

@suad2017
Copy link

suad2017 commented Aug 2, 2017

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

@suad2017
Copy link
Author

suad2017 commented Aug 2, 2017

Hi @sterpe ,

Can you help whith this issue?

Thanks,
Suad

@suad2017
Copy link
Author

Hi @jacobmischka ,

Can you help whith this issue?

Thanks,
Suad

@jacobmischka
Copy link
Contributor

Sorry, not sure. I ended up using regular xmllint on the desktop instead.

@Leigh-M
Copy link

Leigh-M commented Mar 13, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants