<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Le 01/07/2020 à 13:47, Stéphane
Mottelet a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:668f4a8c-ae24-8ed6-b5dd-00c194c9df88@utc.fr">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>Right, sorry for my previous message. <br>
</p>
<p>But, at the user level there are very few use cases: the clear
overload is only useful if some mlist fields contain some
pointers to allocated data. For example sparse LU factors or
Java objects.</p>
</blockquote>
<p><br>
</p>
<p>The auto-clearing of the Java side of Java objects is already
implemented (and it's documented).<br>
<br>
I am wondering if a similar native auto-clearing could be
implemented for xml and hdf5 objects.<br>
I guess that using<a class="refentry"> clear before h5close() or
xmlDelete() could make memory leaking.</a></p>
<p><a class="refentry">Samuel</a></p>
<br>
</body>
</html>