Stability of 3.0.4 (701) under OSX

Disclaimer: Not a rant. Just trying to collect information.

More often than in 2.6 I'm seeing a lot of what appear to be application hangs that usually result in the system exiting all open applications.

The usual pattern is that I perform some operation (there does not appear to be a pattern in what operation triggers the event) and then I'm presented the "spinning pizza". In addition to IDEA not responding, the Finder and other apps don't respond as well. After a minute or two, the Finder will apparently "reset" and display itself with any opened applications having been quit.

Most recently (today) this happening after I closed TextEdit to commit by changes with the Perforce Submit external tool.

Is anyone else seeing this or is it time to try a re-install to clean things up?

In the 2.6 days, if IDEA was having a bad time it would usually just quit without warning but never took the whole system with it. That was under Java 1.3 and 1.4.

Any tips/tricks on how to debug/diagnose the problem would also be appreciated.

12 comments

Hi Zoltan,

I am not seeing anything like what you are describing. What version of OS X are you using?

Also, when IDEA hangs, you can get a thread dump by finding out the process id for IDEA and sending it the 3 signal like so:

That should create a full thread dump on the console.

And yes, it might be time to re-install... :) I had some weird stuff going on after installing to many DPs on top of another. Re-installing from scratch solved these issues. But as usual, YMMV.

Best,
Chris

0

I am not seeing anything like what you are
describing. What version of OS X are you using?


Whew, there is hope. :)


Also, when IDEA hangs, you can get a thread dump by
finding out the process id for IDEA and sending it
the 3 signal like so:


That should create a full thread dump on the
console.


Hmm, I'll have to SSH in to do that but I'll give it a try. Like it said, it takes the whole system with it.

0

Bezug: Deine Nachricht vom 07.Mai.2003 14:10:

Disclaimer: Not a rant. Just trying to collect information.


Same with me.

In the 2.6 days, if IDEA was having a bad time it would usually just
quit without warning but never took the whole system with it. That was
under Java 1.3 and 1.4.


Last time I lost data with IDEA was when I pressed Apple-Q. I can't
think of a real application crash right now. Sat-1 Ball (because the
pizza dish looks similar to the logo of that TV Station ;) tends to be
related to network problems on my machine. Do you have any windows
shares mounted?

I am running IDEA for days. The longer the system runs, the slower it
gets. Right now, I do a lot of Swing related development and can see how
the system comes to a crawl after a week of using it. It is a lot faster
after rebooting. Has anyone else noticed similar problems? I don't even
know if this is IDEA related at all. As IDEA is my main application
right now, "turn of IDEA for two weeks and see what happens" is not an
option for me.

Any tips/tricks on how to debug/diagnose the problem would also be
appreciated.


Same with me. Feel free to contact me by e-mail if you believe that this
is not IDEA related.

Dirk Dittert

0

W2K here. I run IDEA (3.0, 3.0.2 and now 3.0.4) for days, usually the whole
working week. Garbage collector works fine and my memory usage stays between
40 and 110 megs. Don't develop any Swing stuff, but the IDE itself seems
pretty responsive along the road.

Michael Jouravlev.

"Dirk Dittert" <dittert@despammed.com> wrote in message
news:20030507190832480-

I am running IDEA for days. The longer the system runs, the slower it
gets. Right now, I do a lot of Swing related development and can see how
the system comes to a crawl after a week of using it. It is a lot faster
after rebooting. Has anyone else noticed similar problems? I don't even
know if this is IDEA related at all. As IDEA is my main application
right now, "turn of IDEA for two weeks and see what happens" is not an
option for me.




0

Are you by ANY chance on a Powerbook or some kind of laptop? I used to be able to get hangs if I put the machine into instant sleep, wake it up and start working while IDEA was already running before the machine went to sleep. There is a serious problem in the JVM, which I've reported and so far has not been fixed, which will cause IDEA and any other Java app to either just hang(when you're lucky), or litteraly core dump the Kernel, in which case it hurts a lot more.

It's an Apple JDK issue for SURE. So like Chris said, you can try to re install, if you're on a PB iBook etc... don't let the machine fall asleep while a java process is runnning.

R

0

Hi Robert! :)

I leave IDEA running for days on my Powerbook which goes to sleep when I do and never had any problem such as hangs and/or kernel panics (even when my system was otherwise in funky state because of layers and layers of successive updates).

As for IDEA becoming slower as time goes by, I am not sure I actually experienced it. However, the whole system feels slower when kept for a long time with lots of application running but this is most likely due to Virtual Memory. You can really feel its effect when switching between apps.

Maybe is Apple's JVM leaking memory (don't have any hard data to back this)? In my experience, Safari is also a memory hog when left open for days with lots of tabs opened/created/closed etc. But that's a whole different story! :)

As for debugging, since Apple's JVM uses Cocoa, Cocoa debugging techniques might be applicable to see what's going on. Heh, maybe I should try running IDEA using ObjectAlloc to see what's going on? Has anyone tried? Is it even feasible?

Best,
Chris

0

Are you by ANY chance on a Powerbook or some kind of laptop?


Nope. Dual 800 MHz G4 Tower (quicksilver).

0

Sat-1 Ball (because the pizza dish looks similar to the logo of that TV Station ;) tends to be related to network problems on my machine. Do you have any windows shares mounted?


Nope. I have an always-on cable modem connection but no shares.

I am running IDEA for days. The longer the system runs, the slower

>it gets. Right now, I do a lot of Swing related development and can
>see how the system comes to a crawl after a week of using it.

It is a lot faster after rebooting. Has anyone else noticed similar
problems? I don't even know if this is IDEA related at all. As IDEA is

>my main application right now, "turn of IDEA for two weeks and see
>what happens" is not an option for me.

I've had performance degradation in 2.6 and 3.0 but a quick quit and start up usually did the trick. The current symptoms are far worse.

0

So I tried to run IDEA with ObjectAlloc but since I don't know muich about it it wasn't very useful! :)
Anyway, IDEA started but seemed to got stuck on the splash screen so I don't know if you can really use IDEA while monitoring it with ObjectAlloc... I'll try again using the whole app package instead of running the app inside the package...

0

I run 701 and 813 (though more 813 lately) on a TiBook 667 with 512MB Ram and OSX 10.2.6 and haven't had any issues with stability. I have problems with the application continuing to take increasing amounts of memory, and the inability to actually use the tool without a 2 button mouse, but that's it.

0

I think that current Apple JVM isn't stable (and bug free) enough to run
complex Swing applications. It seems that we have to wait 1.4.1_02 or
perhaps 1.4.2.

Best regards,
Vladimir Kondratyev
_____________________
JetBrains

Zoltan Grose wrote:

Disclaimer: Not a rant. Just trying to collect information.

More often than in 2.6 I'm seeing a lot of what appear to be application hangs that usually result in the system exiting all open applications.

The usual pattern is that I perform some operation (there does not appear to be a pattern in what operation triggers the event) and then I'm presented the "spinning pizza". In addition to IDEA not responding, the Finder and other apps don't respond as well. After a minute or two, the Finder will apparently "reset" and display itself with any opened applications having been quit.

Most recently (today) this happening after I closed TextEdit to commit by changes with the Perforce Submit external tool.

Is anyone else seeing this or is it time to try a re-install to clean things up?

In the 2.6 days, if IDEA was having a bad time it would usually just quit without warning but never took the whole system with it. That was under Java 1.3 and 1.4.

Any tips/tricks on how to debug/diagnose the problem would also be appreciated.


0

Bezug: Deine Nachricht vom 07.Mai.2003 19:15:

W2K here. I run IDEA (3.0, 3.0.2 and now 3.0.4) for days, usually the
whole working week. Garbage collector works fine and my memory usage
stays between 40 and 110 megs. Don't develop any Swing stuff, but the
IDE itself seems pretty responsive along the road.


I was using Linux/KDE on my laptop until a few months ago. I noticed
that IDEA is slow (I just had 256MB memory) but never noticed this
"degrading performance". I believe, this is Mac specific. I'll check
with the Mac newsgroups to see if somebody else is having a problem like
that.

Does anyone know about memory leaks in the new Apple JDK? Or GUI
ressources that are not properly handeled?

Thanks,

Dirk Dittert

0

Please sign in to leave a comment.