[Top][All Lists]

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

[Bug-glpk] [Fwd: Re: [Fwd: Windows appdata write error - Permission deni

From: Andrew Makhorin
Subject: [Bug-glpk] [Fwd: Re: [Fwd: Windows appdata write error - Permission denied]]
Date: Tue, 26 Jul 2016 15:40:24 +0300

-------- Forwarded Message --------
From: João Gorenstein Dedecca <address@hidden>
To: Heinrich Schuchardt <address@hidden>
Cc: Andrew Makhorin <address@hidden>, address@hidden
Subject: Re: [Bug-glpk] [Fwd: Windows appdata write error - Permission
Date: Tue, 26 Jul 2016 14:11:42 +0200

Hi Heinrich,

Looking further into the issue I think I am seeing a memory leak in the
GLPK tempfile creation.

Every tempfile creates a 4K page table memory leak which accumulates and
results in insufficient memory space.

Hence I don't think it is an existing file conflict. I will investigate
further and post if I find a solution.



On Mon, Jul 25, 2016 at 12:28 AM, Heinrich Schuchardt
<address@hidden> wrote:
        Hello João,
        this seems to be a problem that is not related to GLPK but to
        generation of temporary file names in your Python code.
        Could it be that you try to create a file that is already in
        You could append os.getpid() to the file name to make sure that
        processes do not use the same temporary file.
        Best regards
        Heinrich Schuchardt
        On 07/23/2016 01:37 PM, Andrew Makhorin wrote:
        > -------- Forwarded Message --------
        > Subject: Windows appdata write error - Permission denied
        > Date: Sat, 23 Jul 2016 10:21:17 +0200
        > Hi,
        > I am running an optimization problem in python using pyomo
        4.3.11388 and
        > the GLPK solver 4.57 on Windows 7. While running 8 calls in
        > with multiprocessing.Pool GLPK has a rare write problem to the
        > \user\AppData\Local\Temp folder: This happens only once out of
        more than
        > thousands of successful runs. Anyone can help? Thanks!
        > ERROR: "[base]\site-packages\pyomo\opt\base\solvers.py", 575,
        > Solver log: GLPSOL: GLPK LP/MIP Solver, v4.57 Parameter(s)
        specified in
        > the command line: --write C:\Users\JGOREN~1\AppData\Local\Temp
        > \tmp4fo_8eqx.glpk.raw --wglp C:\Users\JGOREN~1\AppData\Local
        > \tmps7viej_q.glpk.glp --cpxlp C:\Users\JGOREN~1\AppData\Local
        > \tmpjnqvqljx.pyomo.lp Reading problem data from 'C:\Users
        > \AppData\Local\Temp\tmpjnqvqljx.pyomo.lp'... 25 rows, 45
        columns, 69
        > non-zeros 223 lines were read Writing problem data to 'C:
        > \AppData\Local\Temp\tmps7viej_q.glpk.glp'... Unable to create
        > \JGOREN~1\AppData\Local\Temp\tmps7viej_q.glpk.glp' -
        Permission denied
        > Unable to write problem in GLPK format
        > _______________________________________________
        > Bug-glpk mailing list
        > address@hidden
        > https://lists.gnu.org/mailman/listinfo/bug-glpk

reply via email to

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