<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello,</p>
<p>Thanks for your answer.</p>
<p>We use midPoint 4.0.1 (but we should update it).</p>
<p>For the moment we increased to 256 Gb the memory of the server
and it solved the problem. <br>
</p>
<p>Thanks.</p>
<p><br>
</p>
<div class="moz-cite-prefix">Le 05/07/2021 à 11:03, Pavol Mederly
via midPoint a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:501a5d8c-ff2c-c953-870a-20f601c3cb41@evolveum.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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"
moz-do-not-send="true">midPoint@lists.evolveum.com</a> <br>
<a class="moz-txt-link-freetext"
href="https://lists.evolveum.com/mailman/listinfo/midpoint"
moz-do-not-send="true">https://lists.evolveum.com/mailman/listinfo/midpoint</a>
<br>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="https://lists.evolveum.com/mailman/listinfo/midpoint">https://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
</body>
</html>