------------------------------------------------------------
To:           help-glpk <[email protected]>
Subject:      [Help-glpk] release memory
From:         name name <[email protected]>
Date:         Thu, 8 Sep 2011 17:35:59 +0200
------------------------------------------------------------

> Hello,
>
> I have some problem with releasing memory in scala.
>
> after solving model I use GLPK.glp_free_env() but the
> memory doesn't decries.

[snip]

Hello again Onor

Did you check the return code from GLPK.glp_free_env()?

The GLPK manual states:

  The routine 'glp_free_env' returns one of the following codes:
  0 = termination successful
  1 = environment is inactive (was not initialized).

GLPK also provides the function 'glp_mem_usage' to
report on memory usage.  If a wrapper is provided to
this call, then that could be useful for troubleshooting
your issue.

HTH too, Robbie
---
Robbie Morrison
PhD student -- policy-oriented energy system simulation
Technical University of Berlin (TU-Berlin), Germany
University email (redirected) : [email protected]
Webmail (preferred)           : [email protected]
[from Webmail client]



_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to