Hello,
we have following entity and we work with enhanced entities.
@Entity public class TCStep { @Index private long stepNumber; @ElementCollection private Map<Integer, String> values = new HashMap<>();
The element collection contains more than 10.000 elements.
There are more than 100.000 TCSteps persisted in the database.
In one of our use case we load all available TCSteps and modify each stepNumber.
But this one runs into memory error and happens only, if we have many elements in the element collection although the element collection is actually not load because it is a lazy field.
Why we run into a memory error?