[MGNLUI-1917] Export leads to OOME Created: 09/Aug/13 Updated: 16/Aug/13 Resolved: 13/Aug/13 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | 5.0, 5.0.1 |
| Fix Version/s: | 5.0.2, 5.1 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Will Scheidegger | Assignee: | Eric Hechinger |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Apache Tomcat with only 1 Magnolia instance and 1GB of RAM |
||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Date of First Response: |
| Description |
|
Tried to export a bunch of assets from DAM and ran into an OutOfMemoryException pretty much instantly – despite the generous setup (see environment). This used to work flawlessly in Magnolia < 5. Last part of the stack trace: Caused by: java.lang.OutOfMemoryError: Java heap space |
| Comments |
| Comment by Eric Hechinger [ 13/Aug/13 ] |
|
Root issue is the conversion from an OutputStream to an InputStream. the first solution was implemented and in fact for large file, we got OOME.... Now we implemented the second solution with a specific handling of tmp file removal. |