Bug 331165 - [Data] Improve Memory Performance
Summary: [Data] Improve Memory Performance
Status: RESOLVED FIXED
Alias: None
Product: AMP (ARCHIVED)
Classification: Modeling
Component: AMF (show other bugs)
Version: 0.9.0   Edit
Hardware: Macintosh Mac OS X
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Miles Parker CLA
QA Contact: Miles Parker CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-25 20:48 EST by Miles Parker CLA
Modified: 2010-12-07 13:33 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miles Parker CLA 2010-11-25 20:48:58 EST
For large model runs, we're running into memory and performance issues when writing to adata. We need to investigate:

1. Whether to use another EObjImpl such as MinimalEObject.
2. Using binary resource factory (a good idea anyway).
3. Changes in actual structure.
4. Whether something in XText / APar is contributing to the issue. We'll need to run profiling on a session to figure that out.
Comment 1 Miles Parker CLA 2010-12-07 13:33:23 EST
We changed to Binary Resource Factory. Vastly improved performance and memory footprint. Downside is that artifacts are no longer human readable and failures are less recoverable, but worth trade off in this case. NOTE: This will break compatibility with existing adata files. Let me know if this is a problem for anyone. Eventually we probably should make Binary and Text/XML preference options with ability to open either, but that's a good bit of engineering.