knowing/Knowing — Issue #22: MemoryLeak in BundleDPUProvider
Author: muuki88
Created: 2011-12-29 18:21:42+00:00
State: open
Labels: bugfix, core

### Task

[BundleDPUProvider](https://github.com/knowing/Knowing/blob/master/de.lmu.ifi.dbs.knowing.core/src/de/lmu/ifi/dbs/knowing/core/service/IDPUProvider.scala) should only hold the URL to the DPUs provided by this bundle.

### Implemenation
BundleDPUProvider should once load on startup every DPU to
read the dpu name and then only store the name and the URL.

```scala
/** Map[Name of DPU, URL to DPU]*/
private var dpuMap = Map[String,URL]()
```

Advantages
* Low memory footprint (only name->url)
* Low bundle access (one time on init, then only on demand)

### Additional Information

The _IFactoryDirectoryService_ should make use of this.