I'm trying to chase down an error with Asymptote generation on Windows.
Two questions for those who know the build script better than me:
1. Is it possible to capture the error message produced by an external program like Asymptote?
Right now the CLI reports that there was an error, and then reports the contents of 'asy --version'
2. Are assets stored in memory while being built?
Background: with older versions of Asymptote (2.85,2.87) I can run pretext generate for APEX to build all asymptote figures (about 300 of them).
In at least 3.09-3.12, there was a bug that caused out of memory errors while building 3D PDF. This was fixed in 3.13 (released yesterday)
The whole generate script runs successfully on Linux. It fails on Windows.
Why I'm stuck: it always fails at the same diagram on Windows, but if I build that diagram individually, using the same command as pretext, the figure builds without error.
This makes me think that my Windows laptop might be running out of memory while generating asymptote, but I can't access the error message to confirm.