Skip to content

Demo of how to create or fix a memory leak when garbage collecting.

License

Notifications You must be signed in to change notification settings

bast/cffi-mem-alloc-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Client-side or library-side memory allocation with Python CFFI?

Client side is more general but we also wish a Pythonic API. Check out test.py.

How to build and run the example

mkdir build
cd build
cmake ..
make
cd ..
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
EXAMPLE_BUILD_DIR=build python test.py

About

Demo of how to create or fix a memory leak when garbage collecting.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published