singleton
singleton copied to clipboard
[BUG][Java Service]Return "520" with java.lang.OutOfMemoryError: Java heap space when request get supportedLanguageList api reaches 58 times
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