eclipse-modisco / org.eclipse.modisco

Eclipse Public License 2.0
0 stars 0 forks source link

Memory leak in the java discoverer. #824

Open eclipse-modisco-bot opened 9 hours ago

eclipse-modisco-bot commented 9 hours ago

| --- | --- | | Bugzilla Link | 374522 | | Status | NEW | | Importance | P5 normal | | Reported | Mar 16, 2012 11:59 EDT | | Modified | Dec 19, 2012 08:55 EDT | | Reporter | Guillaume Doux |

Description

Build Identifier: 20110916-0149

The present bug shows a problem with the java discoverer "org.eclipse.modisco.java.project".

When the discovery process is launched several times (within the discoverer benchmark see Bug 369945), the obtained size obtained for the resulting java model increase at each iteration.

The content of the model is "duplicated" in each iteration.\ \ There is probably a static field in the java discoverer that keeps some link to the model elements produced before.

Example:

A project with a launch configuration to reproduce the bug will be attached.\ The discovery is launched on the "org.eclipse.gmt.modisco.dev.core" project

Reproducible: Always

Steps to Reproduce:

  1. make sure you have the benchmark discoverer installed
  2. import the "org.eclipse.gmt.modisco.dev.core" project
  3. import the project in attachment
  4. run the launch configuration contained in the project
eclipse-modisco-bot commented 9 hours ago

By Guillaume Doux on Mar 16, 2012 12:02

Created attachment 212794 Test project to reproduce the bug

Project containing the launch configuration to reproduce the bug and an example of its execution.

:compression: bugDiscovererJava.zip