Replies: 1 comment
-
A Lazy-Referenced object will be loaded whenever Lazy.get() is called. It does not matter if this done while using Java Streams or any other api. When a lazy is loaded it will load everything, not only the lazy referenced object itself, but also the whole object graph starting with the lazy object as it’s root.
Please see Clearing Lazy References for more details. Please also note that lazy loaded objects must be collected by the Java Garbage Collector to actually release memory. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Will eclipsestore load every object occured when using Stream::filter ? How to deal with clean up when mass of objects was loaded in Stream::filter ?
Beta Was this translation helpful? Give feedback.
All reactions