Many thanks for your answer.

Stian Soiland-Reyes wrote:
> When you run Taverna on Windows, and launching using the taverna.exe
> file (the default), it will use up to a minimum 300 MB, but if you
> have more free memory it will use up to 50% of the amount that is
> available - calculated when you start Taverna.
> 
> If this is the case for your example I guess you have about 3 GB of
> memory installed on your machine? (with ~2.2 GB free at start up).

Yes, the machine has 3GB memory.

> The Java virtual machine does not typically reduce the memory usage
> once it's occupied, even if the garbage collector is run and the
> memory is freed internally inside Taverna. If the garbage collector is
> not run earlier than more memory could be used than strictly
> necessary, if the JVM decides it's faster to delay garbage collection.

Yes, that's the reason why I waited for 15 minutes after closing all 
workflows and results. The JVM had all opportunity to run garbage 
collection.

> That said, it is still odd that you said your Taverna has allocated
> that much memory, had you been running any particularly heavyweight
> workflows when you got that number?

I would not think so. The memory usage was build up over time. I would 
change something in a workflow - let it run - delete the run - change 
the workflow and so on. My impression was that for all the runs new 
memory was allocated but at a delete none was freed.

> It could also be that the memory usage you see includes shared memory
> pages used for accessing the graphic system and system libraries - but
> in that case this bit is not 'real' memory and is actually shared
> between all other programs on your operating system. Windows Task
> Manager typically shows the "Memory (private working set)" which I
> believe excludes such memory pages.
> 
> 
> If you want to reduce the maximum memory allowance for Java, you can
> edit taverna-debug.bat and modify the -Xmx300m parameter to say
> -Xmx450m if you want to assign a maximum of 450 MB. Run
> taverna-debug.bat instead of taverna.exe for this parameter to be
> picked up - if you want you can modify the Taverna startup menu item
> by right clicking and selecting Properties.

Actually I don't want to reduce the memory used by Taverna, if it needs 
it. All I want is to work for a day without having to restart Taverna. I 
wouldn't have looked at memory if a workflow which had run happily 
before hadn't slowed down dramatically. (I now understand that Taverna 
had reached the 50% memory limit.)

Best regards,
Anja


> On Thu, Oct 1, 2009 at 15:39, Anja Le Blanc
> <[email protected]> wrote:
>> Dear Taverna Developers,
>>
>> After working with Taverna for a good part of a day, I noticed that
>> Taverna was using 1,115,872 KBytes of my memory. I closed all open
>> workflows, removed all results and waited 15 minutes. The memory usage
>> stayed the same. Could there be a problem with freeing memory, or is the
>> garbage collection not happening?
>>
>> I don't know whether it is already reported as bug (in a quick search I
>> have not found it).
>>
>> Best regards,
>> Anja
>>
>> ------------------
>> System Windows XP SP3
>> Taverna Workbench 2.1 beta 2
>> java 1.6.0_15
>> ------------------
>>
>> --
>> Anja Le Blanc
>> Research Computing Services
>> University of Manchester
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
>> http://p.sf.net/sfu/devconf
>> _______________________________________________
>> taverna-users mailing list
>> [email protected]
>> [email protected]
>> Web site: http://www.taverna.org.uk
>> Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/
>>
> 
> 
> 

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
taverna-users mailing list
[email protected]
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/

Reply via email to