Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heap Allocation Problem #38

Open
anujtmr9 opened this issue Jun 26, 2017 · 8 comments
Open

Heap Allocation Problem #38

anujtmr9 opened this issue Jun 26, 2017 · 8 comments
Labels

Comments

@anujtmr9
Copy link

I have installed the plugin but whenever i m trying to retrieve data size more than 20mb i m facing memory exception. How can i handle default allocation and customize it

@marevol
Copy link
Contributor

marevol commented Jun 26, 2017

limit request parameter is available(ex. limit=50%).

@anujtmr9
Copy link
Author

Sorry i need to retrieve more amount of data nearly 1gb some time so how i can increase memory allocation. This is my question

@marevol
Copy link
Contributor

marevol commented Jun 26, 2017

It depends on a heap size of elasticsearch.
limit=50% means 50% of the heap size.

@anujtmr9
Copy link
Author

Thanks you. How to set limit will u please help. Any specific command like so ?

@anujtmr9 anujtmr9 reopened this Jun 27, 2017
@marevol
Copy link
Contributor

marevol commented Jun 27, 2017

limit is a request parameter.

@anujtmr9
Copy link
Author

Thanks. So in http request only like http://myurl/..../limit=50% it will work ?

@marevol
Copy link
Contributor

marevol commented Jun 27, 2017

?limit=50%25

@anujtmr9
Copy link
Author

bgl-mongo-rs1:9200/data1/logs/_data?format=json&source={"query":{"bool":{"must":[{"match_all":{}}]}},"from":0,"size":100000}

Error is "Result window is too large, from + size must be less than or equal to: [10000] but was [100000]. See the scroll api for a more efficient way to request large data sets. This limit can be set by changing the [index.max_result_window] index level setting."
Please update the url how i can set limit here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants