octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #49197] xmlread in IO-pkg - open file handles


From: anonymous
Subject: [Octave-bug-tracker] [bug #49197] xmlread in IO-pkg - open file handles
Date: Tue, 27 Sep 2016 09:31:25 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0

URL:
  <http://savannah.gnu.org/bugs/?49197>

                 Summary: xmlread in IO-pkg - open file handles
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Tue 27 Sep 2016 09:31:22 AM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Performance
                  Status: None
             Assigned to: None
         Originator Name: Tobi
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.3
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

in xmlread.m line 91:
    jos = javaObject ("java.io.FileOutputStream", jfile);

opens a file handle, but this handle will never close.

under line 123 in xmlrad.m, i would add 
    jos.close();


I'm not a javaexpert, but it works fine for my application.
I checked the open file handles with "Process Explorer".




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49197>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]