From 8884b4a4e5a5a95f0a8a46e8733102b8b89e324b Mon Sep 17 00:00:00 2001 From: Wes McKinney Date: Wed, 16 Aug 2017 17:34:54 -0400 Subject: [PATCH] Remove outdated pyarrow.jemalloc_memory_pool example. Add --with-plasma to Python doc build Change-Id: Ib1be94c33a14a3ce122e532363cf297b6c476958 --- python/doc/source/memory.rst | 12 ------------ site/README.md | 2 +- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/python/doc/source/memory.rst b/python/doc/source/memory.rst index f18919999e0..4806bbb8572 100644 --- a/python/doc/source/memory.rst +++ b/python/doc/source/memory.rst @@ -142,18 +142,6 @@ the stream is garbaged-collected, all of the memory is freed: stream = None pa.total_allocated_bytes() -Classes and functions that may allocate memory will often have an option to -pass in a custom memory pool: - -.. ipython:: python - - my_pool = pa.jemalloc_memory_pool() - my_pool - my_pool.bytes_allocated() - stream = pa.BufferOutputStream(my_pool) - stream.write(b'foo') - my_pool.bytes_allocated() - On-Disk and Memory Mapped Files ------------------------------- diff --git a/site/README.md b/site/README.md index 1b0a82e03db..2c5f9791970 100644 --- a/site/README.md +++ b/site/README.md @@ -82,7 +82,7 @@ First, build PyArrow with all optional extensions (Apache Parquet). ``` cd ../python -python setup.py build_ext --inplace --with-parquet +python setup.py build_ext --inplace --with-parquet --with-plasma python setup.py build_sphinx -s doc/source rsync -r doc/_build/html/ ../site/asf-site/docs/python/ ```