Re: Running 1 VM for more Java programs
From: Roedy Green (look-on_at_mindprod.com.invalid)
Date: 07/18/04
- Next message: Roedy Green: "Re: const parameters"
- Previous message: Ken Blau Original Author: "Tomcat jpda JWSDPLaunchFilter.class jwsdp"
- In reply to: Pansje: "Running 1 VM for more Java programs"
- Next in thread: IchBin: "Re: Running 1 VM for more Java programs"
- Reply: IchBin: "Re: Running 1 VM for more Java programs"
- Reply: Pansje: "Re: Running 1 VM for more Java programs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 18 Jul 2004 19:35:17 GMT
On Sun, 18 Jul 2004 21:24:20 +0200, "Pansje" <NoSpam@NoSpam.nl> wrote
or quoted :
>I get the impression that each time I start a Java program, a new VM is
>started (taskmanager shows java.exe of about 13M for each start). Is this
>really true, or is taskmanager "confused".
That's true. However IIRC there is now a DLL so you don't use quite as
much RAM as you used to. See http://mindprod.com/jgloss/echidna.html
for a way to run several apps in one JVM.
>
>Also I'm not impressed by the startup time of even the most simple
>application. I assume that most of the time is spend on starting the VM.
>Is there a way to start the VM only once, and use that instance for all java
>programs ??
Agreed. The problem is Sun sells servers where the startup time does
not matter. I have some ideas to speed up desktop startup time.
see http://mindprod.com/projects/gespenster.html
http://mindprod.com/projects/suspendedanimation.html
One of the things you can do today is statically compile to exe. See
http://mindprod.com/jgloss/nativecompiler.html
http://mindprod.com/jgloss/jet.html
-- Canadian Mind Products, Roedy Green. Coaching, problem solving, economical contract programming. See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
- Next message: Roedy Green: "Re: const parameters"
- Previous message: Ken Blau Original Author: "Tomcat jpda JWSDPLaunchFilter.class jwsdp"
- In reply to: Pansje: "Running 1 VM for more Java programs"
- Next in thread: IchBin: "Re: Running 1 VM for more Java programs"
- Reply: IchBin: "Re: Running 1 VM for more Java programs"
- Reply: Pansje: "Re: Running 1 VM for more Java programs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|