Eclipse crashes by increasing PermGen [message #463166] |
Wed, 07 February 2007 09:30 |
Martin Dames Messages: 28 Registered: July 2009 |
Junior Member |
|
|
Hi there,
I just downloaded a fresh Eclipse 3.2.1 Carbon/Mac OS X release and I
wanted to start with more PermGen and more Memory at all... so I started
Eclipse from the shell (fresh Eclipse, without Workspace and without
external plugins):
../eclipse -vmargs -Xms128m -Xmx256m -XX:PermSize=128M -XX:MaxPermSize=256M
I am getting this java error in the console:
java(344,0x1804a00) malloc: *** error for object 0x352c90: incorrect
checksum for freed object - object was probably modified after being
freed, break at szone_error to debug
java(344,0x1804a00) malloc: *** set a breakpoint in szone_error to debug
CGGStackRestore: gstack underflow.
CGGStackRestore: gstack underflow.
java(344,0xa000cfc0) malloc: *** error for object 0x352900: incorrect
checksum for freed object - object was probably modified after being
freed, break at szone_error to debug
java(344,0xa000cfc0) malloc: *** set a breakpoint in szone_error to debug
Invalid memory access of location 00000652 eip=9038913c
[error occurred during error reporting, step 0, id 0xe0000000]
and the JVM terminated with exit code 10.
Hmm.. here is another strange thing:
I checked if I have to write the m's in lower cases so I started eclipse
again with the command:
../eclipse -vmargs -Xms512m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m
but with lower case m's.. now the JVM has the exit code 5 and the
console sais:
Invalid access of stack red zone bf80001c eip=90352661
Is this a Mac OS JVM problem/bug?
I need to increase the PermGen, because I am working o
n a huge Working Set and I need to use the PDEExport funktion, which I
can run 3 or 4 times and then Eclipse sais it runs out of PermGen.
Does anyone have an idea about that?
Thank you guys.
|
|
|
|
|
Re: Eclipse crashes by increasing PermGen [message #463292 is a reply to message #463276] |
Wed, 07 February 2007 21:45 |
Eclipse User |
|
|
|
Originally posted by: lamont_gilbert.rigidsoftware.com
On Wed, 07 Feb 2007 19:14:14 +0100, Martin Dames wrote:
> Hey, thanks for the reply,
>
> I am using the latest 1.5 version.
>
> java version "1.5.0_06"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-112) Java
> HotSpot(TM) Client VM (build 1.5.0_06-64, mixed mode, sharing)
>
> A friend of my has a MacBook too... I'll try the same in his Mac OS as
> well.
>
> If this goes wrong too, I'll tell apple about the bug!
>
> Actually... can you try it too?
>
> Thanks.
>
>
> Alex Blewitt schrieb:
>> That's weird. Looks like a JNI memory leak.
>>
>> What version of Java are you running (run java -version in the command
>> line to find out)? Also note that Eclipse can use different VMs that it
>> finds on the system; you can try specifying a specific VM with e.g.
>>
>> eclipse -vm /System/Library/Frameworks/JavaVM.framework/1.4.2/bin/java
>> or something like that.
>>
>> If you've installed any of the Apple Developer Connection JVMs, can you
>> try downloading the newest one that's available and seeing if that fixes
>> the problem?
>>
>> I've never seen this error before, and it's possibly not an Eclipse bug
>> but rather an Apple issue. If you've got an account you can probably
>> submit it via Apple's Radar bug tracking system.
>>
>> Alex.
is that the latest for mac? I am running 1.5.0_10 on linux and windows.
but not 64.
|
|
|
Re: Eclipse crashes by increasing PermGen [message #463337 is a reply to message #463292] |
Thu, 08 February 2007 16:40 |
Martin Dames Messages: 28 Registered: July 2009 |
Junior Member |
|
|
Yes it is,
there is a Development Preview of _07, I'll check that.
Actually I don't know if the versions of Apple's Java and Sun's java are
equivalent. Maybe the release _07 is _10 by Sun... because Apple
implemented Java by its own and their had less bugs as in the sun
implementation.
I checked with latest Developer Preview _07 and it crashes as well.
I submitted a bug report to apple.
Thank you guys.
CL 'dnoyeB' Gilbert schrieb:
> On Wed, 07 Feb 2007 19:14:14 +0100, Martin Dames wrote:
>
>> Hey, thanks for the reply,
>>
>> I am using the latest 1.5 version.
>>
>> java version "1.5.0_06"
>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-112) Java
>> HotSpot(TM) Client VM (build 1.5.0_06-64, mixed mode, sharing)
>>
>> A friend of my has a MacBook too... I'll try the same in his Mac OS as
>> well.
>>
>> If this goes wrong too, I'll tell apple about the bug!
>>
>> Actually... can you try it too?
>>
>> Thanks.
>>
>>
>> Alex Blewitt schrieb:
>>> That's weird. Looks like a JNI memory leak.
>>>
>>> What version of Java are you running (run java -version in the command
>>> line to find out)? Also note that Eclipse can use different VMs that it
>>> finds on the system; you can try specifying a specific VM with e.g.
>>>
>>> eclipse -vm /System/Library/Frameworks/JavaVM.framework/1.4.2/bin/java
>>> or something like that.
>>>
>>> If you've installed any of the Apple Developer Connection JVMs, can you
>>> try downloading the newest one that's available and seeing if that fixes
>>> the problem?
>>>
>>> I've never seen this error before, and it's possibly not an Eclipse bug
>>> but rather an Apple issue. If you've got an account you can probably
>>> submit it via Apple's Radar bug tracking system.
>>>
>>> Alex.
>
> is that the latest for mac? I am running 1.5.0_10 on linux and windows.
> but not 64.
>
|
|
|
Powered by
FUDForum. Page generated in 0.04316 seconds