Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: memory leak on embedded python in c++
Post: RE: memory leak on embedded python in c++

(Jul-15-2020, 10:02 PM)Gribouillis Wrote: I don't know why there is a memory leak, but normal C programs call Py_Initialize() and Py_Finalize() only once. Why would anyone want to call them in a loo...
asdf3721 General Coding Help 3 3,387 Jul-16-2020, 05:15 AM
    Thread: memory leak on embedded python in c++
Post: memory leak on embedded python in c++

why this line cause memory? how do I solve it void cyc() { Py_Initialize(); PyObject *pArgs = Py_BuildValue("idd",4,1.0,1.0); Py_DECREF(pArgs); Py_Finalize(); ...
asdf3721 General Coding Help 3 3,387 Jul-15-2020, 07:03 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020