Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » [p2] too much diskspace needed for metadata
[p2] too much diskspace needed for metadata [message #119019] Tue, 07 October 2008 13:05 Go to next message
Carsten Pfeiffer is currently offline Carsten PfeifferFriend
Messages: 34
Registered: July 2009
Member
Hi,

I was wondering why Eclipse wouldn't start up anymore, without any hint,
and found out it was because I ran out of diskspace.

Even though I've got less than 250megs of plugins, the p2 directory already
contains 1.1 Gigs.

There must be something wrong if there's more metadata than data...

/usr/local/eclipse-3.4.1$ du -sh features/ plugins/
5,1M features/
243M plugins/
/usr/local/eclipse-3.4.1$ du -sh p2/
1,1G p2/

This was a plain 3.4 installation, upgraded to 3.4.1, with
- birt
- emf
- gef
- dtp

installed additionally.

Cheers,
Carsten
Re: [p2] too much diskspace needed for metadata [message #119036 is a reply to message #119019] Tue, 07 October 2008 14:01 Go to previous messageGo to next message
Mark Melvin is currently offline Mark MelvinFriend
Messages: 118
Registered: July 2009
Senior Member
Wow.

Is there a particular file (or files) that is huge in there, or is it just
a whole bunch of average-sized ones?

M.

On Tue, 07 Oct 2008 09:05:33 -0400, Carsten Pfeiffer
<carsten.pfeiffer@gebit.de> wrote:

> Hi,
>
> I was wondering why Eclipse wouldn't start up anymore, without any hint,
> and found out it was because I ran out of diskspace.
>
> Even though I've got less than 250megs of plugins, the p2 directory
> already
> contains 1.1 Gigs.
>
> There must be something wrong if there's more metadata than data...
>
> /usr/local/eclipse-3.4.1$ du -sh features/ plugins/
> 5,1M features/
> 243M plugins/
> /usr/local/eclipse-3.4.1$ du -sh p2/
> 1,1G p2/
>
> This was a plain 3.4 installation, upgraded to 3.4.1, with
> - birt
> - emf
> - gef
> - dtp
>
> installed additionally.
>
> Cheers,
> Carsten
Re: [p2] too much diskspace needed for metadata [message #119049 is a reply to message #119019] Tue, 07 October 2008 14:16 Go to previous messageGo to next message
Simon Kaegi is currently offline Simon KaegiFriend
Messages: 381
Registered: July 2009
Senior Member
Wow, that is impressive or well... not good.
It would be good to get a rough breakdown of diskspace usage one level down
in the p2 folder.

With that said... it sounds like for whatever reason on every restart your
profile is getting altered.
Could you confirm and then please open a bug.
The easiest way to confirm this is to see if a new profile is written on
every restart -- look in
" p2/org.eclipse.equinox.p2.engine/profileRegistry/SDKProfile. profile " for a
new .profile file to be written.

Short term...
If my guess is right then the
" p2/org.eclipse.equinox.p2.engine/profileRegistry/SDKProfile. profile " must
have hundreds if not thousands of .profile files.
We intend to use old profiles for rollback and plan to do so in 3.5 however
in 3.4 strictly speaking you only need the latest profile file so you can
safely delete all but say the last five.

HTH
-Simon

"Carsten Pfeiffer" <carsten.pfeiffer@gebit.de> wrote in message
news:gcfmt3$fq4$1@build.eclipse.org...
> Hi,
>
> I was wondering why Eclipse wouldn't start up anymore, without any hint,
> and found out it was because I ran out of diskspace.
>
> Even though I've got less than 250megs of plugins, the p2 directory
> already
> contains 1.1 Gigs.
>
> There must be something wrong if there's more metadata than data...
>
> /usr/local/eclipse-3.4.1$ du -sh features/ plugins/
> 5,1M features/
> 243M plugins/
> /usr/local/eclipse-3.4.1$ du -sh p2/
> 1,1G p2/
>
> This was a plain 3.4 installation, upgraded to 3.4.1, with
> - birt
> - emf
> - gef
> - dtp
>
> installed additionally.
>
> Cheers,
> Carsten
Re: [p2] too much diskspace needed for metadata [message #119062 is a reply to message #119049] Tue, 07 October 2008 16:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: creckord.uni-kassel.de

Hi all,

I have the same problem, although it isn't quite as drastic in my case: I have a total of 560M of plugins and a p2 directory looming at an
impressive 900M.

p2/org.eclipse.equinox.p2.engine/profileRegistry/SDKProfile. profile accounts for 860M of that. There's 86 profile files in there and it
doesn't look like there's a new profile written on each start. The first profile files were all around 2M, but most are between 9.5 and 12M.
cheers,
another Carsten

On 07.10.2008 16:16, Simon Kaegi wrote:
> Wow, that is impressive or well... not good.
> It would be good to get a rough breakdown of diskspace usage one level down
> in the p2 folder.
>
> With that said... it sounds like for whatever reason on every restart your
> profile is getting altered.
> Could you confirm and then please open a bug.
> The easiest way to confirm this is to see if a new profile is written on
> every restart -- look in
> " p2/org.eclipse.equinox.p2.engine/profileRegistry/SDKProfile. profile " for a
> new .profile file to be written.
>
> Short term...
> If my guess is right then the
> " p2/org.eclipse.equinox.p2.engine/profileRegistry/SDKProfile. profile " must
> have hundreds if not thousands of .profile files.
> We intend to use old profiles for rollback and plan to do so in 3.5 however
> in 3.4 strictly speaking you only need the latest profile file so you can
> safely delete all but say the last five.
>
> HTH
> -Simon
>
> "Carsten Pfeiffer" <carsten.pfeiffer@gebit.de> wrote in message
> news:gcfmt3$fq4$1@build.eclipse.org...
>> Hi,
>>
>> I was wondering why Eclipse wouldn't start up anymore, without any hint,
>> and found out it was because I ran out of diskspace.
>>
>> Even though I've got less than 250megs of plugins, the p2 directory
>> already
>> contains 1.1 Gigs.
>>
>> There must be something wrong if there's more metadata than data...
>>
>> /usr/local/eclipse-3.4.1$ du -sh features/ plugins/
>> 5,1M features/
>> 243M plugins/
>> /usr/local/eclipse-3.4.1$ du -sh p2/
>> 1,1G p2/
>>
>> This was a plain 3.4 installation, upgraded to 3.4.1, with
>> - birt
>> - emf
>> - gef
>> - dtp
>>
>> installed additionally.
>>
>> Cheers,
>> Carsten
>
>
Re: [p2] too much diskspace needed for metadata [message #119114 is a reply to message #119049] Tue, 07 October 2008 22:05 Go to previous message
Carsten Pfeiffer is currently offline Carsten PfeifferFriend
Messages: 34
Registered: July 2009
Member
Simon Kaegi wrote:

> Wow, that is impressive or well... not good.
> It would be good to get a rough breakdown of diskspace usage one level
> down in the p2 folder.

Here you go:

/usr/local/eclipse-3.4/p2$ du -sh *
11M org.eclipse.equinox.p2.core
57M org.eclipse.equinox.p2.director
1,1G org.eclipse.equinox.p2.engine
1,5M org.eclipse.equinox.p2.metadata.repository

> With that said... it sounds like for whatever reason on every restart your
> profile is getting altered.
> Could you confirm and then please open a bug.
> The easiest way to confirm this is to see if a new profile is written on
> every restart -- look in
> " p2/org.eclipse.equinox.p2.engine/profileRegistry/SDKProfile. profile " for
> a new .profile file to be written.

Good guess, exactly that's what happening. I'll open a bug tomorrow.

> Short term...
> If my guess is right then the
> " p2/org.eclipse.equinox.p2.engine/profileRegistry/SDKProfile. profile " must
> have hundreds if not thousands of .profile files.

Correct, more than 250 of them.

> We intend to use old profiles for rollback and plan to do so in 3.5
> however in 3.4 strictly speaking you only need the latest profile file so
> you can safely delete all but say the last five.

Thanks, at least I have some more space for now :-)

Cheers,
Carsten
Previous Topic:p2 installing jdk 1.5 bundles under jdk 1.6
Next Topic:equinoxbridgeservlet java.lang.NoClassDefFoundError: $Proxy10
Goto Forum:
  


Current Time: Fri Apr 26 08:16:09 GMT 2024

Powered by FUDForum. Page generated in 0.03838 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top