DITA 打开工具包错误:java.lang.StackOverflowError

发布于 2024-09-04 14:20:58 字数 559 浏览 1 评论 0原文

我正在使用 DITA Open Toolkit 将 XML 内容转换为具有不同的标签名称。但我的 XML 文档之一没有转换...

BUILD FAILED
C:\DITA-OT\build.xml:55: The following error occurred while executing this line:

C:\DITA-OT\build.xml:86: The following error occurred while executing this line:

java.lang.StackOverflowError

此错误发生在处理完成之前。所以只有前 3/4 会发生变换。如果我删除 1/4 的内容,转换就能完成。 (我可以删除任何部分,删除的越多,转换得到的文档就越多,所以我不认为它是无效的标签或类似的东西)。

我是否需要更新配置以允许 Java 进程使用更多资源?

或者有人知道如何开始解决这个问题吗?

谢谢!

I am using the DITA Open Toolkit to transform XML content to have different tag names. But one of my XML documents is not transforming...

BUILD FAILED
C:\DITA-OT\build.xml:55: The following error occurred while executing this line:

C:\DITA-OT\build.xml:86: The following error occurred while executing this line:

java.lang.StackOverflowError

This error happens before processing is finished. So only the first 3/4 transforms. If I remove 1/4 of the content, the transform is able to finish. (I can remove any part, the more I remove the further in the document the transform gets so I do not think its invalid tags or anything like that).

Do I need to update my configuration to allow more resources to the Java process?

Or does anyone have any ideas of how to start troubleshooting this?

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

べ繥欢鉨o。 2024-09-11 14:20:58

您可以考虑通过 JVM 参数调整堆栈大小。在控制台/终端输入 java -X 以查看它们的列表。在这种情况下,您可能最感兴趣的是更改堆栈大小:-Xss。例如,您可以尝试 java -Xss2048k。如果您使用的是 Linux,您最终可能还必须使用 ulimit 更改操作系统线程堆栈大小。通常,您可以通过将 ulimit -s 2048 添加到 /etc/profile 来完成此操作。

如果这不起作用,请尝试在 http://sourceforge.net/projects/ 提交错误报告dita-ot/ 或联系作者。

You might consider tuning the stack size via JVM parameters. Type java -X at your console/terminal to see a list of them. In this case, you're probably most interested in changing the stack size: -Xss. For example, you might try java -Xss2048k. If you're on Linux, you may also end up having to change your OS thread stack size with ulimit. Typically, you would do this by adding something like ulimit -s 2048 to /etc/profile.

If this doesn't work, try filing a bug report at http://sourceforge.net/projects/dita-ot/ or contacting the authors.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文