I've done much digging into Java options in Mac OS X 10.6.4 (Snow
Leopard). However, the best response I can get from a simple $(java -jar
jython.jar -version) is 45 seconds. That is 100 times slower than
running just java. And 10 time slower than the same thing in Linux.
It seems that applications like Firefox, VmFusion are huge memory hogs
in Mac OS X, much more than with Linux. I have 2G RAM in my Linux
system, and 4G RAM in my macbook. By the time I run 3 programs:
terminal, VmFusion, Firefox all of the RAM (2G worth) is used up. And we
all know that Java needs real RAM, not swap space.
So what can I do - besides giving up on Mac OS X and running Ubuntu on
my macbook ?
I'm almost ready to give up on Jython and use python instead.
--Lyndon
On Fri, 2010-09-24 at 17:15 -0700, Chris Clark wrote:
> Lyndon Van Wagner wrote:
> > My primary work machine is an Intel MacBook with 4G RAM, duo core
> > processor, 320G disk.
> > I had been running all of my jython programs on a slower OpenSuSE11
> > system, but since I carry the laptop back and forth to work, I wanted
> > to use that more.
> > I find that on the Linux system jython runs almost as fast as java. On
> > the Mac (BTW, clean build of Snow Leopard) jython runs 1.5 - 2 minutes
> > slower than Java !
> > (even just to get the version of java vs. jython).
> >
> > Is anyone else seeing this?
>
> Yes, no, maybe :-)
>
> You mention taking the version is slow, I'm guessing you mean:
>
> jython -V
>
> is taking along time, i.e. startup time is slow rather than execution speed.
>
> My observation is that JVM startup time is slow on a number of platforms
> (and JDK/JRE versions), and Jython startup time too. I'm not a jvm
> expert but changing memory flag sizes can help with startup time.
>
> Chris
>
--
==================================================================
name: Lyndon VanWagner
email: lyndon153@...
cell: 585-220-2638
saying: Why does God need a starship?
==================================================================
|