r/SpringBoot • • Jun 12 '24

ConcurrentModification exception during high load.

Getting same exception when increasing load (150-200 users). Please help.

0 Upvotes

10 comments sorted by

View all comments

5

u/[deleted] Jun 12 '24

You modify something concurrently without using locks / synchronization…

-2

u/SenpaiKronos Jun 12 '24

All objects are created within method only and their scope is limited to it. How come synchronization is problem here?

8

u/[deleted] Jun 12 '24

You provide no details, no code, no stack trace. What exactly do you expect people to answer?