Reg - Sub Process creation from java takes more time

Manjunath SV manju.jccs at
Fri Sep 16 05:48:43 UTC 2016


I monitored memory usage, below are the details.

Heap usage :-  857mb
Virtual memory:- 12.6gb
-Xmx set to 4gb.

I have taken virtual and heap memory usage  when Java spawns sub processes.

Sub processes have short life, will be done in milli seconds.

Thanks & Regards,

Message: 5
Date: Thu, 15 Sep 2016 11:01:01 +0200
From: <ecki at>
To: "core-libs-dev at" <core-libs-dev at>
Subject: Re: Reg - Sub Process creation from java takes more time
Message-ID: <57da634c.c336c20a.19b0c.bec8 at>
Content-Type: text/plain; charset="utf-8"


Do you monitor heap usage and virtual memory size of your Java process? I
would look out for increase (which causes slower for tines).

Also it is generally a good idea to turn on GC logging and look into it if
a java process degregades over time


Just BTW: I think Java would not be the right tool to spawn and control
sich a high number of external processes. Maybe it would be better to hand
that off to a more native component.

Von: Manjunath SV

More information about the core-libs-dev mailing list