Hi,

I'm new to linux (but not java) so maybe I'm doing something

wrong and you guys can point me in the right direction.

I thought Swing was slow on Windows... I appreciate that JDK
1.2.2
is still beta, but i'm having serious performance problems
with my
apps on linux, where I don't with the other os.

A good example is the SwingSet demo. In the other os it
loads in
30 secs (40 secs with the JIT). In linux the best I've seen
is 60 secs,
this on an otherwise "empty" machine (i.e. all usual started
tasks).

The problem is storage - I have 32m ram. According to top,
the SwingSet
demo has a size of 22M (13M RSS) after loading - this with
-Xxm32m and no JIT. (With a 16m heap it quickly goes
OutOfMemory). The JIT adds about 3meg.

And it gets worse: Choose options|change L&F from the menu 5
times,
switching between metal & cde, size goes up to 34m and RSS
to 22m. Of course by now the system is thrashing wildly, and
each L+F change
takes a minute or two (Yes, same without top running). On
the other os
each L+F change takes about 5 secs !

(Incidently, UIManager.getInstalledLookAndFeels() offers
Windows L+F, but of course it aint there.)

I have exactly these problems, to a lesser degree, with my
own apps.

Help !

BTW, I have compared the sun & symantec JITs on a
compute-intensive
application (matrix diagonalisation). Both reduce elapsed
time from about
8 mins to less than 2 - pretty impressive. (The symantec JIT
is actually
35 sec faster, but all the difference is in one method, so
this isnt
very representative).

Nick



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

Reply via email to