Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

pressure test. after 10000 times request, out of memory. #121

Open
3 tasks
bitcoinauto opened this issue Dec 2, 2020 · 1 comment
Open
3 tasks

pressure test. after 10000 times request, out of memory. #121

bitcoinauto opened this issue Dec 2, 2020 · 1 comment

Comments

@bitcoinauto
Copy link

  • Riot version (or commit ref):
  • Go version: v.0.10.0
  • Operating system and bit:
  • Can you reproduce the bug at Examples:
    • Yes (provide example code)
    • No
    • Not relevant
  • Provide example code:
    this is the code fo search:
    output := searcher.SearchDoc(types.SearchReq{
    Text: query,
    //Tokens: text1,
    RankOpts: &types.RankOpts{
    ScoringCriteria: &ArticleScoringCriteria{},
    OutputOffset: (page-1)*count,
    MaxOutputs: count,
    },
    })
  • Log gist:

Description

...

@bitcoinauto
Copy link
Author

I used engine.UsedMem() to get memoery used data. It is increasing continuously. I did presss test to request same url.
It would be a problem.
Thank you very much.

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

No branches or pull requests

1 participant