Community
Participate
Working Groups
Running Eclipse causes this error on the console: pre. 2009-05-26 09:53:43.928 java[11994:613] *** _NSAutoreleaseNoPool(): Object 0x8ab98180 of class NSCFArray autoreleased with no pool in place - just leaking Stack: (0x9509cf0f 0x94fa9442 0x93591098 0x8735293e 0x1e367c6 0x1da9f85 0x1da9fc7 0x1da9fc7) using eclipse-SDK-I20090522-1710-macosx-cocoa
Not for 3.5
Interesting that others don't see this ...
(In reply to comment #1) > Not for 3.5 fine by me (In reply to comment #2) > Interesting that others don't see this ... the only reason that I noticed is because I was running Eclipse in a console... it was output on stderr (or stdout, I'm not sure which). Most users would never see that output even if it did happen for them.
Created attachment 137682 [details] a small sampling of leaks from my log Using Console.app I looked at the system log. It's shocking how much is leaking!
Yikes! Kevin?
(In reply to comment #5) > Yikes! Kevin? I've got more from today if you want those too ;)
We've tried to reproduce this and can't reliably. It may be related to the launcher and it seems to happen when you restart after an update or maybe switch workspace. Playing with the auto release pools in RC4 doesn't sound like a good idea to me. Unless this affects usability, I'd suggest this is not for 3.5.
(In reply to comment #7) > We've tried to reproduce this and can't reliably. > It may be related to the launcher and it seems to happen when you restart after > an update or maybe switch workspace. I often use the workspace chooser dialog on startup or switch workspaces after startup.
I don't know if it's related -- after running Cocoa for awhile I get a lot of pinwheels when switching focus between editors, views and perspectives. In fact, eventually it becomes so bad that I have to restart Eclipse. The heap monitor indicates that I've got a good 800MB+ free on my heap (I run with a big heap) and my machine is not swapping (other apps remain responsive). After restarting Eclipse the pinwheels go away.
(In reply to comment #9) > I don't know if it's related -- after running Cocoa for awhile I get a lot of > pinwheels when switching focus between editors, views and perspectives. In > fact, eventually it becomes so bad that I have to restart Eclipse. The heap > monitor indicates that I've got a good 800MB+ free on my heap (I run with a big > heap) and my machine is not swapping (other apps remain responsive). After > restarting Eclipse the pinwheels go away. I've noticed as well that towards the end of the day I have to restart Eclipse, because things like expanding tree items or popping up a context menu on a selection takes several seconds to perform.
What would it take to have this one scheduled for 3.5.1? I'm finding that two to three times a day I'm having to restart Eclipse due to increasingly long beach ball delays.
I'm not sure the beach ball is related to this bug. When I've seen this, it happens on startup, but once eclipse is running the NSAutoreleasePool are created and we stop leaking (Console.app stops printing the error message). Does eclipse leak forever for you? I've run apple's 'leaks' tool on eclipse quite a bit and haven't seen large leaks of memory for some time. It could be that my Eclipse set up is different from yours and it's not exposing the memory leaks in the same way that your is. Also the beach ball doesn't necessarily mean that there is a memory leak. It just means that something is slow. Maybe Apple's 'Spin Control' application can help us here. It's supposed to sample the application whenever an application hangs.
Of course it's all too easy to point the finger. Sorry about that. I'll do some more investigation into the beachball issue.
Thanks for leaks tip. I just ran it on a self-hosted Eclipse process that I've been running for ~8 hours and it's only reporting 1 leak for 16 bytes.
Created attachment 145243 [details] similar leaks from my console eclipse-SDK-I20090818-0800-macosx-cocoa Observed when I closed Eclipse just after I asked it to open a bunch of Compare Editors from the Sync View (see bug 273951, comment 26).
Created attachment 145691 [details] another log sample Attached another log sample of the problem, using Eclipse Java EE IDE for Web Developers. Build id: 20090621-0832
(In reply to comment #9) > I don't know if it's related -- after running Cocoa for awhile I get a lot of > pinwheels when switching focus between editors, views and perspectives. In issue moved to bug 290449
I am seeing these messages in my console when running an inner (using an RC2 build). Scott, this bug is still assigned to Kevin, is that intentional?
(In reply to comment #18) > I am seeing these messages in my console when running an inner (using an RC2 > build). Scott, this bug is still assigned to Kevin, is that intentional? No, I haven't moved all of Kevin's bugs over to me yet. If you have steps to reproduce let me know. These are usually pretty easy to solve.
just run into this: Eclipse Modeling EPP Helios SR1 running an OSGI launch config with only some bundles from time to time - not always I'm getting this error in OSGI console
(In reply to comment #20) > Eclipse Modeling EPP Helios SR1 > running an OSGI launch config with only some bundles > > from time to time - not always I'm getting this error in OSGI console Are you using the SWT? That would help isolate it. The Equinox launcher has some Cocoa in it -- could be coming from there.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Closing, I've not seen this error or any reports on this. Please reopen if it still happens.