JVM and heap size?

2000-10-06 Thread yangyuexiang

Hi

My program employed several threads.
On blackdown jdk1.2.2, the memory sized used is seems to fixed to about
23m each threads.
But under IBM JDK1.3, although the speed is much faster, but the memory
used likes to
increase unexpectedly and the JVM hangs finally.
It seems there is some memory leak in the HotSpot of IBM JVM.

Who can give me suggestions to control the heap size of JVM?
My system is Redhat 6.2.

Thanks very much!

yangyuexiang



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




Problem with Listeners

2000-10-06 Thread Alexander Hordt

Hello everything together!
I have a problem with the monitoring of internal messages of
components, which were added to a TabPanel.
The problem is: I have a class, which processes all my user
INTERFACES. Those are TextFields, Choices etc.. Some of it have I in a
TabPanel and if I execute an internal message with these components,
then I receive of it nothing, i.e. I do not get Event. What can I
make? How can I make that correct?
Thanks.
Alex 
Mit freundlichen Gruessen

A.Hordt


>> systec Elektronik und Software GmbH <<  

 >Automatisierungs- und Antriebstechnik< 

  Nottulner Landweg 90  
  48161 Muenster - Germany  

  Telefon: 0700-SYSTEC-DE 
  Telefax: 0 25 34-80 01-77   
  eMail:   [EMAIL PROTECTED] 

  Besuchen Sie uns im Internet! 

  << http://www.systec.de >>


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




Re: Problem with Listeners

2000-10-06 Thread Joi Ellis

Alexander Hordt wrote:
> 
> Hello everything together!
> I have a problem with the monitoring of internal messages of
> components, which were added to a TabPanel.
> The problem is: I have a class, which processes all my user
> INTERFACES. Those are TextFields, Choices etc.. Some of it have I in a
> TabPanel and if I execute an internal message with these components,
> then I receive of it nothing, i.e. I do not get Event. What can I
> make? How can I make that correct?
> Thanks.
> Alex
> Mit freundlichen Gruessen
> 
Could you be more specific and include some sample code snippets?
I can't figure out what you're trying to do. What are you trying to
accomplish?  What isn't happening that you expected to happen?



--
Joi EllisSoftware Engineer
Aravox Technologies  [EMAIL PROTECTED], [EMAIL PROTECTED]

No matter what we think of Linux versus FreeBSD, etc., the one thing I
really like about Linux is that it has Microsoft worried.  Anything
that kicks a monopoly in the pants has got to be good for something.
   - Chris Johnson


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




Re: JVM and heap size?

2000-10-06 Thread Joi Ellis

yangyuexiang wrote:
> 
> Hi
> 
> My program employed several threads.
> On blackdown jdk1.2.2, the memory sized used is seems to fixed to about
> 23m each threads.
> But under IBM JDK1.3, although the speed is much faster, but the memory
> used likes to
> increase unexpectedly and the JVM hangs finally.
> It seems there is some memory leak in the HotSpot of IBM JVM.
> 
> Who can give me suggestions to control the heap size of JVM?
> My system is Redhat 6.2.
> 
> Thanks very much!
> 
> yangyuexiang
> 

I consider the IBM JVM for linux unusable.  When I substitute it for
Sun's 1.3 beta, my IDE can no longer debug, there are many swing
drawing glitches, and the JVM dumps core often.  I download the
most recent release a few weeks ago, most of the Swing glitches were
fixed but the thing still dumps core at the drop of a red hat.

I won't use it.


--
Joi EllisSoftware Engineer
Aravox Technologies  [EMAIL PROTECTED], [EMAIL PROTECTED]

No matter what we think of Linux versus FreeBSD, etc., the one thing I
really like about Linux is that it has Microsoft worried.  Anything
that kicks a monopoly in the pants has got to be good for something.
   - Chris Johnson


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




cannot browse javax.swing.* document through browser.

2000-10-06 Thread cylif

hello everybody,

I have installed jdk1.2.1 but when I import javax.swing.*, I can only
browse the html document by appletviewer, but not any browser like
netscape 4.7.1 nor IE5.

The error is that I have not get the correct Object... but how can I get
the correct plug-in or how can I solve the problem??

thanks everybody.


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




Re: Runtime.getRuntime().exec(message);

2000-10-06 Thread Peter Schuller

> Whats the differance between the two calls ? 

1) java/javac are shell scripts. you need to use a shell to invoke them
2) Are they in the PATH?

-- 
/ Peter Schuller, InfiDyne Technologies HB

PGP userID: 0x5584BD98 or 'Peter Schuller <[EMAIL PROTECTED]>'
Key retrival: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://scode.infidyne.com


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




Re: Tomcat + EJB ?

2000-10-06 Thread Peter Schuller

> Does Tomcat suppport EJB ? I could not found any word in  Tomcat
> documentation saying it have EJB capabilities. 
> 
> Anybody have ideas ?

Not that I know of. Enhydra (www.enhydra.org) has support for it though in
Enhyra 4 - unfortunately still in beta though. 3.0 has no EJB support.

-- 
/ Peter Schuller, InfiDyne Technologies HB

PGP userID: 0x5584BD98 or 'Peter Schuller <[EMAIL PROTECTED]>'
Key retrival: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://scode.infidyne.com


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




Re: JVM and heap size?

2000-10-06 Thread Peter Schuller

> It seems there is some memory leak in the HotSpot of IBM JVM.

HotSpot is a Sun thing; there is no "HotSpot" in IBM's JVM.

What are your threads doing? While IBM's JDK is pretty good, it seems to
have a bad GC; it throws OutOfMemoryErrors a bit too easy.

And exactly how does it "crash"?

> Who can give me suggestions to control the heap size of JVM?
> My system is Redhat 6.2.

-Xmx and -Xms. "java -X" for more info.

-- 
/ Peter Schuller, InfiDyne Technologies HB

PGP userID: 0x5584BD98 or 'Peter Schuller <[EMAIL PROTECTED]>'
Key retrival: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://scode.infidyne.com


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




Re: JVM and heap size?

2000-10-06 Thread Joi Ellis

Peter Schuller wrote:
> 
> > It seems there is some memory leak in the HotSpot of IBM JVM.
> 
> HotSpot is a Sun thing; there is no "HotSpot" in IBM's JVM.

To be pandantic, HotSpot is a java Just-in-time compiler, aka JIT.
IBM's JVM also has a JIT, it just has a different name, and it's
on by default.  IBM requires an -option at runtime to disable it.

> 
> What are your threads doing? 

I don't have any threads in my app, just the main thread and the usual
event queue/etc threads provided by java.  The problem is that simply
launching an app under an IDE debugger causes the debuggee to dump 
core before it actually loads any classes.

> While IBM's JDK is pretty good, it seems to
> have a bad GC; it throws OutOfMemoryErrors a bit too easy.
> 
> And exactly how does it "crash"?

IBM's JVM dumps core with SEGV errors.  Consistantly.
When I posted a polite query about it on their newsgroup, they canceled 
my post. :p

> 
> > Who can give me suggestions to control the heap size of JVM?
> > My system is Redhat 6.2.
> 
> -Xmx and -Xms. "java -X" for more info.


--
Joi EllisSoftware Engineer
Aravox Technologies  [EMAIL PROTECTED], [EMAIL PROTECTED]

No matter what we think of Linux versus FreeBSD, etc., the one thing I
really like about Linux is that it has Microsoft worried.  Anything
that kicks a monopoly in the pants has got to be good for something.
   - Chris Johnson


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




Software Tuning

2000-10-06 Thread Anureet Saxena

hi,
   I have developed an applet which uses more than 150 classes, quite a few UDP
sockets and plethora of resources. As a result the applet runs very slowly. I
would like to know if there is a good "software tuner" for java applications
which can indicate the resources used by various modules in the program and
also 
help to point those parts of the application which slow it down.

Anureet Saxena

__
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/


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




which jdk?

2000-10-06 Thread Peter John Cameron

I've downloaded three versions of JDK 1.3 from Sun, Blackdown and IBM.

Which JDK works the best? I'm currently using Suse 6.4, but haven't yet
tried development with its JDK1.1.8 (which doesn't appear to have Java
Threads, right?).

Also, does 1.3 and Linux give any problems with: Sun's Java 3D,
Interactive's JView3D and KLG Standard suite 4.05?

I'm eager to start developing on Linux at home and at work (at work I'm
using Visual Age on w*ndoze for development, and RS6000 AIX for testing).

Thanks for all help and advice.

Cheers,
Peter



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




Getting JDK

2000-10-06 Thread Nicolas Raitman

Please could anyone tell me which versions of Java do I have to download
from Internet in order to use it with windows? Also, where are they? I know
about java.sun.com, but I do not know which to download, could anyone help
me please?

Thanks a lot,
Nicolas


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