From: fred Date: Tue, 26 Mar 2002 23:23:01 +0000 (+0000) Subject: lilypond-1.3.60 X-Git-Tag: release/1.5.59~1578 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=cbc6f925165d604fe57e60f536b4d368295f8ab8;p=lilypond.git lilypond-1.3.60 --- diff --git a/lily/main.cc b/lily/main.cc index 3bade16b9d..3f7a41e000 100644 --- a/lily/main.cc +++ b/lily/main.cc @@ -303,6 +303,12 @@ main (int argc, char **argv) debug_init (); // should be first setup_paths (); + /* + prepare guile for heavy mem usage. + */ + setenv ("GUILE_INIT_SEGMENT_SIZE_1", "4194304", 0); + setenv ("GUILE_MAX_SEGMENT_SIZE", "8388608", 0); + oparser_global_p = new Getopt_long(argc, argv,theopts); while (Long_option_init const * opt = (*oparser_global_p)()) {