Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Perl with Swig C module not releasing memory

by Anonymous Monk
on May 11, 2013 at 08:27 UTC ( [id://1033088]=note: print w/replies, xml ) Need Help??


in reply to [Solved] Perl with Swig C module not releasing memory

So it seems the free is working but its releasing the memory back to perl and not to the system .. If I'm wrong and it should go back to system let me know.

:) Its S.O.P., memory is returned to the system at perl's discretion, see Mini-Tutorial: Perl's Memory Management and perlclib. Perl probably overrides/redefines free/malloc (: and then swig does stuff -- I don't swig :) but you should probably stick with New/Safefree as perclib recommends

  • Comment on Re: Perl with Swig C module not releasing memory

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1033088]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (1)
As of 2024-04-25 01:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found