Bug 400455

Summary: XML output converter causes OutOfMemoryError
Product: [Automotive] Sphinx Reporter: Istvan David <istvan_david>
Component: CoreAssignee: Project Inbox <sphinx-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: critical    
Priority: P3 CC: balazs.grill, idydieng
Version: 0.7.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Istvan David CLA 2013-02-11 10:13:51 EST
The org.eclipse.sphinx.emf.resource.AbstractModelConverter.converterSave() method causes OutOfMemoryError with larger models. (We experienced
the issue via a ~150M model.) The problem arises from two root causes:
1. the method receives an XMLString as an input which is already loaded in the
memory;
2. and the DOM structure created inside the method contributes an additional
memory overhead to this.

As a workaround, we simply avoid the calls of this method. (The related lines
of code are commented out from ARTOP.) This is, however, not sufficient as a permanent fix; we are currently allowed to do this because we work with fixed versions and do not require minor change handling among models whilst the output.

As a solution proposal, we would recommend avoiding DOM structures in case of
expansive models.
Comment 1 Balazs Grill CLA 2024-05-07 00:53:21 EDT
Closed stale issue before migration