[BUG][Java Service]Return "520" with java.lang.OutOfMemoryError: Java heap space when request get supportedLanguageList api reaches 58 times
Open
@tigershi is already working on this.
Since Sep 8, 2022.
area/java-service
kind/bug
priority/medium
- Dominant language
- Java
- Stars
- 72
- Forks
- 69
- Avg merge
- 23h 32m
- Merged PRs (30d)
- 4
Description
Describe the bug
Return "520" with java.lang.OutOfMemoryError: Java heap space when request get supportedLanguageList api reaches 58 times
To Reproduce
Steps to reproduce the behavior:
- Set translation bundles in java service and start the service
- request get supportedLanguageList api 100 times by different product
such as: GET https://10.185.19.42:8090/i18n/api/v2/locale/supportedLanguageList?productName=VMCUI66&version=1.0.0
3, check these api response
Actual result:When request get supportedLanguageList api reaches 58 times, the api return 520
Expected behavior
The return is 200 when request get supportedLanguageList api every times
Screenshots


Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.