>Why I ask is that I have tried the above scenario and have found that
>having 3 jvm's running uses up almost 3x the memory of having 1 runnning
>- leading me to think there is no sharing and wondering how much memory
>I'm going to need if I want to have a large number of small
>(co-operating) java apps running similtaneously (I know an alternative
>would be to use something like echidna which will let multiple apps run
>inside 1 vm, but will this is a nice solution it still has a problem
>since apps in the same vm are vulnerable to each other, ie. if one of
>the apps dies it can take the whole vm and all the other apps in it with
>it).


Or you could run a single JVM with each "application" running in its own
thread.  They should not interfere with each other (much!), provided your
applications don't expect to be able to call System.exit() and other global
methods.

David



----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to