You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Antony Grinyer <an...@csw.co.uk> on 2005/09/07 19:07:00 UTC
Memory profiling cocoon
Hi,
Has anyone successfully integrated a Java memory profiler (such as
JProfiler or YourKit) with Cocoon? I'd like to test the memory usage of
a Cocoon transformer that is a Java class, but I'm not sure how I can
get the a Java profiler to profile Cocoon transformers?
Thanks for any help/advice,
Ant
Re: Memory profiling cocoon
Posted by "Carlos M. S. Bento Nogueira" <cm...@student.dei.uc.pt>.
I've just begun using Yourkit with Cocoon , following your suggestion, but
as i'm a newbie on this i'm having trouble understanding the results i'm
getting.
I would like to check 2 things if possible:
1st - what is the cpu/memory usage on generating PDF/RTF files ?
2nd - does the cpu/memory usage changes with the number of users
requesting to generate RTF/PDF? How high is the increase?
What threads should i take on account to achieve the previous goals??
TIA,
CarlosN.
On Wed, 7 Sep 2005, Reinhard Poetz wrote:
> Antony Grinyer wrote:
>> Hi,
>> Has anyone successfully integrated a Java memory profiler (such as
>> JProfiler or YourKit) with Cocoon? I'd like to test the memory usage of a
>> Cocoon transformer that is a Java class, but I'm not sure how I can get the
>> a Java profiler to profile Cocoon transformers?
>
> Yes. I successfully use Yourkit with Cocoon. See ":doYourkitProfile" in
> http://svn.apache.org/repos/asf/cocoon/trunk/cocoon.bat to find out how to
> start Jetty. Of course this requires a properly installed Yourkit (IIRC it
> requires some native library in the system path).
>
> With this setting you can the JVM access remotly at port 10000.
>
> Hope this helps.
>
>
--
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Memory profiling cocoon
Posted by Reinhard Poetz <re...@apache.org>.
Antony Grinyer wrote:
> Hi,
>
> Has anyone successfully integrated a Java memory profiler (such as
> JProfiler or YourKit) with Cocoon? I'd like to test the memory usage of
> a Cocoon transformer that is a Java class, but I'm not sure how I can
> get the a Java profiler to profile Cocoon transformers?
Yes. I successfully use Yourkit with Cocoon. See ":doYourkitProfile" in
http://svn.apache.org/repos/asf/cocoon/trunk/cocoon.bat to find out how to start
Jetty. Of course this requires a properly installed Yourkit (IIRC it requires
some native library in the system path).
With this setting you can the JVM access remotly at port 10000.
Hope this helps.
--
Reinhard Pötz Independent Consultant, Trainer & (IT)-Coach
{Software Engineering, Open Source, Web Applications, Apache Cocoon}
web(log): http://www.poetz.cc
--------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org