# Set queryLimit higher than 50000

**URL:** <https://community.stardog.com/t/set-querylimit-higher-than-50000/2714>\
**Category:** Support\
**Created:** [September 17, 2020, 6:26am UTC](https://community.stardog.com/t/set-querylimit-higher-than-50000/2714 "2020-09-17T06:26:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mospring](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/mospring/32/825_2.png) [@mospring](https://community.stardog.com/u/mospring)\
**Post date:** [September 17, 2020, 6:26am UTC](https://community.stardog.com/t/set-querylimit-higher-than-50000/2714/1 "2020-09-17T06:26:44Z")

</div>

I am using Stardog Studio. Is it possible to somehow increase the maximum value for the queryLimit? It seems to have a maximum value of 50000.

---

<div class="post-metadata">

**Author:** ![stephen](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/stephen/32/27_2.png) [@stephen](https://community.stardog.com/u/stephen)\
**Post date:** [September 17, 2020, 2:10pm UTC](https://community.stardog.com/t/set-querylimit-higher-than-50000/2714/2 "2020-09-17T14:10:39Z")

</div>

Hi,

We have hard-coded that limit for various reasons. If you require more results for a given query, you can either click the Run to File button, which will re-run your query without the limit and output to a file, or you can specify `LIMIT X` in your query to override the studio default. If you do the latter, however, we make no guarantees as far as application behavior and memory usage.

---

<div class="post-metadata">

**Author:** ![mospring](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/mospring/32/825_2.png) [@mospring](https://community.stardog.com/u/mospring)\
**Post date:** [September 17, 2020, 2:24pm UTC](https://community.stardog.com/t/set-querylimit-higher-than-50000/2714/3 "2020-09-17T14:24:16Z")

</div>

Thank you. Running to file is fine for me, I'll try.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [October 1, 2020, 2:24pm UTC](https://community.stardog.com/t/set-querylimit-higher-than-50000/2714/4 "2020-10-01T14:24:18Z")

</div>

Closed on October 1, 2020, 2:24pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
