<div dir="ltr"><div>Hi Davy,</div><div><br></div><div>If you put generationConstraints section after your schema is already generated, you need to regenerate schema again:<br class="gmail-Apple-interchange-newline"></div><div>- delete schema/definition section in your resource (or upload it again)<br></div><div>- click "refresh schema" on your resource.</div><div><br></div><div>Best regards,</div><div><br></div><div>Gustav </div><div><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">st 29. 5. 2019 o 9:25 Davy Priem <<a href="mailto:davy.priem@vives.be">davy.priem@vives.be</a>> napísal(a):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Hi,<br>
<br>
Suddenly I’m having issues with an AD LDAP resource consuming lots of memory which makes midpoint very slow. When I download the resource, the XML is 100MB in size. I don’t know why the schema suddenly became so big. I’ve cheched the resource and the generationConstraints  as mentioned bellow, is still there. Anyone having the same issue? I’ve tested with latest support-3.9 (standalone on centos 7) in combination with ADLDAP connector 1.6.1, 2.0 and 2.1.<br>
<br>
<schema><br>
   <generationConstraints><br>
        <generateObjectClass>ri:user</generateObjectClass><br>
        <generateObjectClass>ri:group</generateObjectClass><br>
    </generationConstraints><br>
</schema><br>
<br>
Best regards,<br>
Davy Priem<br>
_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Gustáv Pálos</div><div>Senior Identity Engineer</div><a href="http://evolveum.com/" rel="noreferrer" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">evolveum.com</a><br></div></div></div></div></div>