]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/lily.scm
Flush all ports after each file, flush stdout after displaying all options
[lilypond.git] / scm / lily.scm
index 91b34e290aa2b5b1fc7c28dd22db0ba0b60a2c57..bbea5afab996462f9eedb9a6ee3613f65581ce5a 100644 (file)
@@ -702,7 +702,8 @@ LilyPond safe mode.  The syntax is the same as `define*-public'."
          (mem (string->number (match:substring (car interesting) 1))))
     (format #t "VMDATA: ~a\n" mem)
     (display (gc-stats))
-    (if (> mem 100000)
+    (newline)
+    (if (> mem 500000)
         (begin (dump-gc-protects)
                (raise 1)))))
 
@@ -860,7 +861,8 @@ PIDs or the number of the process."
          (ly:set-option 'debug-gc-assert-parsed-dead #f)
          (if (ly:get-option 'debug-gc)
              (dump-gc-protects)
-             (ly:reset-all-fonts))))
+             (ly:reset-all-fonts))
+         (flush-all-ports)))
      files)
 
     ;; Ensure a notice re failed files is written to aggregate logfile.