Re: Front End Memory usage while exporting many graphics
- To: mathgroup at smc.vnet.net
- Subject: [mg55737] Re: Front End Memory usage while exporting many graphics
- From: "Gustavo Delfino" <gdelfino at gmail.com>
- Date: Tue, 5 Apr 2005 03:20:57 -0400 (EDT)
- References: <d2qjdk$p1n$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
> Just a question: does it work if you only export ten plots? Yes > Whether displayed or not, the information needed to display the plot > is still in memory. Every time through the loop another plot is > created and more memory used. But why front end memory? After all I can generate the plots from the kernel directly, but then I get font issues. BTW, I am creating different plots, my previous code is just an example. > (a) there is the Utilties`MemoryConserve` package. You might > consider trying to reclaim some memory at the end of each loop. My understanding is that Utilties`MemoryConserve` helps with MathKernel memory, not the Front End memory. > (b) run through until the front end crashes, then simply restart the > loop from the last variable. Yes, it is crude and inefficient, but > it does get results. Yes, that is what I have been doing. It is a pain. > (c) is your loop as efficient as it can be? Shifting loop > invariants outside is a start. How do you make a loop front end memory efficient besides by using DisplayFunction->Identity? > (d) and (e) The Mathematica Front End crashes when it is using about 1.6 GB or RAM. And I have 4.5 Gb of RAM. So buying more RAM or closing application will not help much. Thank you Chris, Bill and David for your help. Regards, Gusatvo Delfino