I did some more testing, broke the file into thirds and they all compiled
reasonably. There was a page limiter in one sub file that might have caused
that oddness, because now the complete file goes to Error exit status 1
instead. When testing that third it rendered everything onto one page which
produced a wonderfully ugly black blob with traces of music about the
edges.
  The project is more or less completed. I used a simple concatenation to
put the 3 pdf files together and managed to complete a small book 170 pages
which at this point is only for internal use anyway. And that is better
than the 272 pages achieved by simply concatenating all the indvidual pdfs.
Maybe down the road I will take another crack at combining files en mass
and arriving at a finer control of header data and the various other things
that tend to escape from one file to the next.

Thanks,
Shane


On Wed, Jan 23, 2013 at 4:42 AM, David Kastrup <[email protected]> wrote:

> Shane Brandes <[email protected]> writes:
>
> > failed (0): gs: failed to fork (Cannot allocate memory) Did I break
> > something or is it wanting a more robust machine? I was trying to run
> > a file that runs to about a hundred pages using 2.17.9 over Ubuntu
> > 12.10. Anyway that particular error does not seem obvious to me.
>
> It means that starting Ghostscript (or for Ghostscript itself, starting
> some other program) has failed because the currently existing programs
> already ate all of the available virtual memory.
>
> You can check that this is not due to user limits by calling
> ulimit -a
> on the command line.  If the possible limits don't look unreasonably
> small, you might want to observe memory usage during the LilyPond run.
>
> At any rate, this would likely occur when LilyPond is calling
> Ghostscript for conversion of PS to PDF, so it would not be working
> actively on the (presumably excessive) amounts of memory it has
> allocated.  Increasing the swap space on your machine might solve the
> problem.
>
> If you find that LilyPond is using an amount of memory that does not
> really make sense in the context of your score, this might point to a
> bug (memory leak?).  Finding useful examples for debugging memory leaks
> is not simple.
>
> --
> David Kastrup
>
>
> _______________________________________________
> lilypond-user mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to