Bug 430531

Summary: ModelLoadManager forces System.gc()
Product: [Automotive] Sphinx Reporter: Missing name <christian.schenk>
Component: CoreAssignee: Project Inbox <sphinx-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: balazs.grill, philipp.schulte-hubbert
Version: 0.7.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Missing name CLA 2014-03-17 11:28:26 EDT
We have encountered a scenario where the system became very unresponsive while processing a few Model Reload Jobs (Using Artop 4.0.x + Sphinx 0.7.x).

The analysis has shown that the ModelLoadManager calls ExtendedPlatform.performGarbageCollection() after some operations (e.g. proxyResolution, unloadmodel,...). 

This blocks the whole system. The UI gets unresponsive.

I think gc() should be left to the JRE. (At least in my case: After removing the GC code my use case was very responsive.)
Comment 1 Philipp Schulte-Hubbert CLA 2015-12-08 08:05:45 EST
Running a headless application with Sphinx in it, we sometimes get this message for the same Job as mentioned in this issue:
"Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.sphinx.platform.util.ExtendedPlatform$5"
Comment 2 Balazs Grill CLA 2024-05-07 00:57:39 EDT
Closed stale issue before migration