[MAGNOLIA-2289] can not bootstrap large XML files into the website repository Created: 28/Jul/08 Updated: 04/Nov/15 Resolved: 04/Nov/15 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | core |
| Affects Version/s: | 3.6 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Ruben Reusser | Assignee: | Philipp Bärfuss |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
new installation, 3.6CE |
||
| 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 |
|
magnolia is not capable of bootstrapping large xml files from WEB-INF/bootsrap/common - trying to bootstrap a 40MB xml file into magnolia fails with a memory setting of 1GB for tomcat |
| Comments |
| Comment by David Smith [ 29/Jul/08 ] |
|
Would http://www.mail-archive.com/user-list@magnolia.info/msg07623.html look like your issue? If so, the solution (at least until a fixed version of Jackrabbit is included in Magnolia) is to temporarily increase the thread stack space for the bootstrap and then drop it for normal operation. Add -Xss1024k to tomcat's startup for bootstrap only, then drop for normal operation. |
| Comment by Magnolia International [ 29/Jul/08 ] |
|
wow - i suspected some fishier in the way we handled the import stream or something. If that's all that's needed to fix this, I'm sure the JR fellows would agree to merge this change to the JR1.4 branch. |
| Comment by Philipp Bracher [ 29/Jul/08 ] |
|
This are tow 'separated' issue: one, the stack overflow, can be omitted by increasing the stack size (but revert that as soon as possible). The other point is that the bootstrap uses a session import instead of a workspace import. So we might want to change that. I put some memory save jsp scripts I used in the past into the community wiki: http://wiki.magnolia.info/display/WIKI/Backup+and+Restore+JSP+Scripts |
| Comment by Fabrizio Giustina [ 31/Jul/08 ] |
|
apart from the StackOverflow problem which will be fixed in newer releases of jackrabbit I can confirm I was able to successfully import a 2GB (yes, 2GB) xml file into magnolia 3.6 with 1.2GB assigned memory... looks strange that you are having problem with 40MB |
| Comment by Michael Mühlebach [ 04/Nov/15 ] |
|
Given the thousands of other issues we have open that are more highly requested, we won't be able to address this issue in the foreseeable future. Instead we will focus on issues with a higher impact, and more votes. |