On Thu, Sep 3, 2009 at 15:13, Paul Fisher
<[email protected]> wrote:

> I was wondering how to increase the default memory that T2 can consume
> using the new EXE download. I downloaded the larger of the two
> installers off the myGrid website, but I can't seem to edit any file to
> increase the memory. If I edit the exe, all I can see is a strange
> character in the text file.

The taverna.exe file is created using launch4j, and will use 300 MB,
or 50% of free memory (if it's more than 300 MB).

To specify by hand how much memory Taverna is allowed to allocate, you
would need to start it from taverna-debug.bat instead. You can edit
the taverna-debug.bat and modify this line:

  set ARGS=-Xmx300m -XX:MaxPermSize=140m

Both numbers are in megabytes. Unless you are adding your own plugins
and you get 'Out of permspace' exceptions (this is the space reserved
to holding Java classes), you will only need to modify the first
parameter, say to use 450 MB instead:

  set ARGS=-Xmx450m -XX:MaxPermSize=140m



To run the taverna-debug.bat, just double-click it. You can right
click on the start menu item of Taverna and inside 'Properties' change
the target to taverna-debug.bat instead of taverna.exe. If you loose
the icon, click "Change icon" and browse to taverna.exe.

 (Alternatively - in Vista and above - right click on
taverna-debug.bat and say 'Pin to start menu' or 'Pin to taskbar' and
do the same icon trick)



-- 
Stian Soiland-Reyes, myGrid team
School of Computer Science
The University of Manchester

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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