Bug 430531 - ModelLoadManager forces System.gc()
Summary: ModelLoadManager forces System.gc()
Status: CLOSED WONTFIX
Alias: None
Product: Sphinx
Classification: Automotive
Component: Core (show other bugs)
Version: 0.7.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-17 11:28 EDT by Missing name CLA
Modified: 2024-05-07 00:57 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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