lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: newbie question about long scores / compilation times / memory alloc


From: Bertalan Fodor (LilyPondTool)
Subject: Re: newbie question about long scores / compilation times / memory allocation
Date: Tue, 03 Feb 2009 16:45:27 +0100
User-agent: Thunderbird 2.0.0.19 (Windows/20081209)

Please keep the discussion on the list using "Reply All" to let others fix my wrong thoughts. :-)

It has nothing to do with the CPU. I suppose you have a dual core or hyperthreading processor.

Look for the memory consumption of lilypond.exe in task manager.
Use a value like 60.
It also may happen you not correctly set the environment variable.



joel mellin wrote:
Hi Bert,
 
Thanks for the info.  I guess this leads me to - what if it does appear to be ignored?  I've set that environment variable, rebooted a number of times since, and whever I create the PDF and watch the task manager, CPU sticks at 50.  I only set it to 90 just to see if it would actually go up to 90.  I'm using the context menu  - right click - generate score.  This appears (as judged by the registry) to run lilypond-windows with the -dgui.   Perhaps the Task Manager is not the best way to judge whether or not lilypond is using more CPU / Memory?  Either way, I still receive a memory allocation error.
Is there a better place to put the 'export LILYPOND_GC_YIELD=VAL'  instead of an environment variable?
 
Thanks - I appreciate the help!
 
Best,
Joel
On Tue, Feb 3, 2009 at 10:27 AM, Bertalan Fodor (LilyPondTool) <address@hidden> wrote:
I'm sure that LILYPOND_GC_YIELD is not ignored, I tried it. See http://www.mail-archive.com/address@hidden/msg38982.html
However, I don't know if 90 is really high or not.

 I used to recommend a number below 70.

Bert

joel mellin wrote:
Hi Lilyponders.
 
newbie question  - I'm entering the world of lilypond via JMSL (www.algomusic.com) and glad to be here.
 
I've got a rather lengthy score of ~2400 measures with many, many notes.  When I attempt to create the PDF file, I get as far as the preprocessing of graphical objects, and then I receiving a memory allocation error.  I've scoured the web / lilypond.org site / etc. for information regarding memory allocation and am a bit stumped.
 
I'm on a windows machine, and the CPU holds at 50% usage, and memory never goes above the ~1.75 GB mark.  I've tried adding the LILYPOND_GC_YIELD environment variable and setting it high (90), but it appears that this is ignored.  Is this true on windows machines?  I've looked for ways to set this from the command line arguments [lilypond-windows.exe - ??] but it doesn't appear that this is the way to do this either. Smaller runs of the same process that generates the longer score seem to work alright.  I get the impression it's not a syntax issue as much as it is a memory allocation issue, and there's more CPU and memory to be used, for sure.
 
Ideas?  Has anyone dealt with long compilation times / high memory usage / memory errors on windows machines?
 
Thank you kindly,
Joel

--
Composition | Sound Design | Web Architecture
http://www.joelmellin.com

Waxfruit™ Arts Media, Inc.
http://www.waxfruit.org

_______________________________________________ lilypond-user mailing list address@hidden http://lists.gnu.org/mailman/listinfo/lilypond-user




--
Composition | Sound Design | Web Architecture
http://www.joelmellin.com

Waxfruit™ Arts Media, Inc.
http://www.waxfruit.org


reply via email to

[Prev in Thread] Current Thread [Next in Thread]