<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello Pascal,</p>
<p>tasks in midPoint should not load all processed objects into
memory at once. However, there might be some memory leaks hidden
deep in code - from time to time we find (and fix) one of these.</p>
<p>You could browse our jira for recently fixed memleaks and see if
an upgrade from your version would help (btw, what version of mP
do you use?).</p>
<p>If nothing would apply, you could take a memory dump, and analyze
it using e.g. <a moz-do-not-send="true"
href="https://www.eclipse.org/mat/">Eclipse Memory Analyzer</a>
and open a Jira issue providing the data.</p>
<p>Best regards,<br>
</p>
<pre class="moz-signature" cols="72">--
Pavol Mederly
Software developer
evolveum.com</pre>
<div class="moz-cite-prefix">On 05/07/2021 10:54, Pascal PÉRICHON
via midPoint wrote:<br>
</div>
<blockquote type="cite"
cite="mid:cffe2fd9-1c60-d2ca-bec7-b71cafa01236@u-paris.fr">Hi,
<br>
<br>
We have 25000 student accounts to close (lifecycleState =
archived) because date validTo is over.
<br>
<br>
Validity scanner have to work on 380000 objects and midpoint crash
violently with an out of memory (heap size).
<br>
<br>
We increase the heap size until 42 Go but it crashed at 100000
objects.
<br>
<br>
midPoint seems to load all the objects in memory ?
<br>
<br>
Is there any workaround to avoid midpoint to crash (tasks to
recompute and reconciliate accounts ?)
<br>
<br>
thanks
<br>
<br>
_______________________________________________
<br>
midPoint mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<br>
<a class="moz-txt-link-freetext" href="https://lists.evolveum.com/mailman/listinfo/midpoint">https://lists.evolveum.com/mailman/listinfo/midpoint</a>
<br>
</blockquote>
</body>
</html>