【问题标题】:AllegroGraph memoryLimit query optionAllegroGraph memoryLimit 查询选项
【发布时间】:2012-11-23 14:29:19
【问题描述】:

我在哪里可以设置提到 here 的 AllegroGraph 的 memoryLimit 查询选项?

我正在使用 AllegroGraph 4.9,当我通过 WebView 执行我的 SPARQL 查询之一时,不断收到 QUERY_MEMORY_LIMIT_REACHED 错误。

日志说:

Query has reached memory limit of 4,294,967,296 when requesting 1,089,870,432 additional bytes.
<LISP query plan(?) goes here>
Consider restructuring your query or increasing the value of the :memoryLimit query option.

我会尝试改进我的查询,但我也想知道memoryLimitoption 的位置。

【问题讨论】:

    标签: configuration allegrograph


    【解决方案1】:

    AllegroGraph 允许您在配置文件或每个特定查询中指定多个配置选项。为了在查询中指定一个选项,AllegroGraph 扩展了 PREFIX 语法。例如,要更改内存限制,您可以预先挂起:

    PREFIX franzOption_memoryLimit: <franz:8g>
    

    不需要这样做并不常见,因此如果您可以在查询中包含更多详细信息,我们可以帮助诊断和改进问题。另一个有用的选项是记录查询:

    PREFIX franzOption_logQuery: <franz:yes>
    

    请通过 support@franz.com 联系 AllegroGraph 支持以获取更多帮助。

    【讨论】:

    • 非常感谢。可以在my CodeReview question 中找到有关我正在尝试做的事情的查询和一些其他详细信息。我将按照您的建议联系 support@franz.com 以获得支持,包括有关我的问题的更多详细信息。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-07-21
    • 2019-02-28
    • 1970-01-01
    相关资源
    最近更新 更多