Hi,

I'm currently trying to use DXR for a non Mozilla project, and finding it could make a smarter use of memory.

I'm getting a OOM error at dxr.js:379 on a 104000 line file (that file is autogenerated by gsoap from a WSDL)

It's happening here :
    write_file (sys.aux_base_name + ".sql", sql.join("\n") + "\n");
so I'll think I'll modify the code to make it loop instead of joining everything in memory.

Maybe it's also Spidermonkey that not very smart about the most efficient way to do "string.join"

By the way, the http://zenit.senecac.on.ca/wiki/index.php/Instructions_for_Setting_Up_DXR should be either removed (pointing instead to the README in the latest DXR package in hg) or updated and then kept up to date.
_______________________________________________
dev-static-analysis mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-static-analysis

Reply via email to