How to decrease size of j2sdk_image

Roman Kennke roman at kennke.org
Thu Oct 11 10:32:08 UTC 2012


Am Donnerstag, den 11.10.2012, 03:13 -0700 schrieb matchew:
> actually it does not solve my problems. Still this directory has more than
> 100MB. I have checked its content and there is one big file:
> j2sdk-image/jre/lib/amd64/server/libjvm.diz which is 92MB .

This is the debug symbols, which are not needed, unless you want to
debug the native code of the JVM/JDK. Should be safe to rm -rf it.

Roman

> 
> 
> weijun.wang-2 wrote:
> > 
> > You can try set ENABLE_FULL_DEBUG_SYMBOLS to 0.
> > 
> > -Max
> > 
> > On 10/11/2012 02:38 PM, matchew wrote:
> >>
> >> After successful openJDK7 build (Ubuntu 12.04) i have found that
> >> 'j2sdk-image' has 240MB. More than 100MB belongs to one directory:
> >> openjdk7/jre/lib/amd64
> >>
> >> Can anyone explain me why it is so big? For example in openJDK7 installed
> >> via package manager this folder has only 18MB
> >>
> >> Is there any way to decrease its size?
> >>
> >> Thanks in advance
> >> --
> >> Mateusz
> >>
> > 
> > 





More information about the discuss mailing list