lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Miller <markrmil...@gmail.com>
Subject Re: Monitoring the UI's mem usage
Date Sun, 05 Dec 2010 20:33:11 GMT
Gotto love a wrong email address autocomplete.

On 12/5/10 3:26 PM, Mark Miller wrote:
> This shouldn't normally be something that you need to do with jruby I'd
> think - but Avram asked about this on the call back when there where ui
> running out of memory issues.
>
> Since we require java 6, this is actually really easy.
>
> Java itself comes with jconsole. It should be on your path. You just
> start it, and it lists running java processes that you can connect to.
> Choose the one with jruby-complete-1.5.3.jar in the name for the UI. The
> back end is the one with start.jar in the name.
>
> I usually prefer visualvm over jconsole (kind of a supe'd up version of
> jconsole with a mem/cpu profiler). Its free and simple to use at
> https://visualvm.dev.java.net/.
>
> That makes it very easy to see how the UI and back end are using memory,
> their garbage collection activity, cpu usage, etc.
>
> I often run one on my laptop screen as I test LWE.
>
> - Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message