Hi,
Am 07.10.2010 16:44, schrieb David Withers:
On 7 Oct 2010, at 10:27, Andreas Truszkowski wrote:
> Hello together,
>
> I am developing the CDK-Taverna project for Taverna 2.2. The plugin uses
> iterative I/O workers for accessing big data files. Although using the
> iterative loading strategie the memory usage is enormous.
Which ReferenceService configuration are you using? If you are using InMemory
you should try the Hibernate configuration.
I have no idea how to switch between the two configurations and which
effect they have. A short explanation would be helpful.
I am using the "general" approach from the tutorial:
InvocationContext context = callback.getContext();
ReferenceService referenceService = context.getReferenceService();
T2Reference containerRef = referenceService.register(data, 1, true,
context);
outputs.put(port, containerRef);
What's the difference whether I deliver the old context object or null.
> Trying to profile the memory usage with VisualVM fails with the
> 2.1-snapshot workbench. Are there other/better strategies to profile the
> memory usage in plugins?
I have used JProfiler to profile the memory usage in the Taverna engine - it
seemed to work quite well.
I will give it a try.
The latest snapshot of Taverna 2.3 has much improved memory usage - it may be
worth trying that version.
Am I right that I have to change
<properties>
<t2.core.version>1.1</t2.core.version>
<t2.activities.version>1.1</t2.activities.version>
<t2.ui.api.version>1.1</t2.ui.api.version>
<t2.workbench.version>2.1.2</t2.workbench.version>
</properties>
to
<properties>
<t2.core.version>1.1</t2.core.version>
<t2.activities.version>1.1</t2.activities.version>
<t2.ui.api.version>1.1</t2.ui.api.version>
<t2.workbench.version>2.3</t2.workbench.version> <----
</properties>
Are there also new versions available for the other parts?
So many questions so little time :)
> Furthermore, are there any guidelines for using the Taverna plugin API
> to avoid memory leaks?
>
> Thank you in advance.
> Cheers,
> Andreas
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2& L3.
> Spend less time writing and rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> taverna-hackers mailing list
> [email protected]
> Web site:http://www.taverna.org.uk
> Mailing lists:http://www.taverna.org.uk/about/contact-us/
> Developers Guide:http://www.taverna.org.uk/developers/
-- David Withers School of Computer Science, University of Manchester,
Oxford Road, Manchester, M13 9PL, UK. +44 (0)161 275 0683
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating
great experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________ taverna-hackers
mailing list [email protected] Web site:
http://www.taverna.org.uk Mailing lists:
http://www.taverna.org.uk/about/contact-us/ Developers Guide:
http://www.taverna.org.uk/developers/
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/
Developers Guide: http://www.taverna.org.uk/developers/