Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 349691

Summary: Exponentially growing number of files in workspace metadata
Product: [RT] Virgo Reporter: Daniël van 't Ooster <dvooster>
Component: toolingAssignee: Project Inbox <virgo-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: eclipse, glyn.normington, leo.dos.santos, mlippert
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Daniël van 't Ooster CLA 2011-06-17 09:51:05 EDT
Build Identifier: 2.7.0.M2

The directory <workspace>/.metadata/.plugins/com.springsource.server.ide.runtime.core/ seems to contain files used as cache. The amount of files seems to grow exponentially with the number of open projects. When having x open projects, the number of files in this directory (and subdirectory) is about x+x^2 (on my machine, with 54 open projects, 181M). Is there room for optimization here?

Reproducible: Always
Comment 1 Glyn Normington CLA 2011-06-17 10:10:13 EDT
Thanks for raising this.

I don't understand your working since 54+54^2=2970. Where did the 181M come from? Is that 181 Mb rather than 181 million files?
Comment 2 Daniël van 't Ooster CLA 2011-06-17 10:23:09 EDT
Hi Glyn,

it is 181 megabytes of XML files, the directory contains 4185 files, 1004 are coming from the repository subdirectory. The x+x^2 formula is not 100% accurate, but gives a rough idea of the growth of the number of files.

grtz,
Daniël
Comment 3 Glyn Normington CLA 2011-06-17 10:37:22 EDT
Thanks for the clarification! :-)
Comment 4 Miles Parker CLA 2012-02-16 20:40:54 EST
Daniël,

I'm not able to identify the files you're talking about in the current iteration but it's possible I just don't have the same setup you do. The repository/bundles and repository/libraries directories only contain JSON files for me. Can you post an example file along with its locaiton?

thanks,

Miles