JESS: [EXTERNAL] Question on QueryResult close() function

"Daniel Selva" <[email protected]> Thu, 27 Jun 2013 12:53:00 -0400
Newsgroups gmane.comp.java.jess
Message-ID <CAPc65zsTyqxwDSsAq1rrQxWVeLv6AsMEOcXU0XNSrUWb0H_ufg@mail.gmail.com>
--047d7b5d63ce4d6b9004e025982c
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
 charset=iso-8859-1

Hi,

I am experiencing a memory leak problem in a Matlab-Jess application and I
am trying to locate the leak. I came across the definition of the close()
method of the QueryResult class. I have never called this method after
using queries.

1) Should I call close() after using a query?
2) Could not calling close() be the cause of the leak?

If not, I would appreciate any tips on typical causes of leaks in
Matlab-Jess applications.

Thanks in advance,

Daniel

--047d7b5d63ce4d6b9004e025982c
Content-Type: text/html;
 charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div style>I am experiencing a memory le=
ak problem in a Matlab-Jess application and I am trying to locate the leak.=
 I came across the definition of the close() method of the QueryResult clas=
s. I have never called this method after using queries.=A0</div>
<div style><br></div><div style>1) Should I call close() after using a quer=
y?</div><div style>2) Could not calling close() be the cause of the leak?=
=A0</div><div style><br></div><div style>If not, I would appreciate any tip=
s on typical causes of leaks in Matlab-Jess applications.=A0</div>
<div style><br></div><div style>Thanks in advance,</div><div style><br>Dani=
el</div></div>

--047d7b5d63ce4d6b9004e025982c--