Bug 400455 - XML output converter causes OutOfMemoryError
Summary: XML output converter causes OutOfMemoryError
Status: CLOSED WONTFIX
Alias: None
Product: Sphinx
Classification: Automotive
Component: Core (show other bugs)
Version: 0.7.0   Edit
Hardware: PC Windows 7
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-11 10:13 EST by Istvan David CLA
Modified: 2024-05-07 00:53 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 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