Hi Steve,

 

I'm not entirely sure, as the documentation doesn't tell, but I'd expect spawn 
to really execute your modules, and not just do a static-check. Try invoke or 
eval instead, maybe that helps.

 

Cheers,

Geert

 

Van: [email protected] 
[mailto:[email protected]] Namens Steve Spigarelli
Verzonden: vrijdag 25 juli 2014 18:05
Aan: [email protected]
Onderwerp: [MarkLogic Dev General] spawn static-check

 

I have a large number of files that I would like to check to verify that they 
are valid XQuery. The way I've gone about doing this is using the xray testing 
framework and then looping through all modules in my project with xdmp:spawn 
and the static-check option.

 

The problem is that after a few files (<100) I find that Marklogic restarts 
after running out of memory due to these spawned static-checks.

 

Any ideas on why this spawn check seems to be causing a memory leak?

 

The memory does return to the system after a few minutes if I stop the check 
before the crash.


Thanks for any ideas,

Steve Spigarelli

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to