Repository: arrow Updated Branches: refs/heads/master c0fa8e03a -> 3c5290a7b
ARROW-1365: [Python] Remove outdated pyarrow.jemalloc_memory_pool example. Update API doc site build instructions Author: Wes McKinney <wes.mckin...@twosigma.com> Closes #973 from wesm/site-doc-updates and squashes the following commits: 8884b4a4 [Wes McKinney] Remove outdated pyarrow.jemalloc_memory_pool example. Add --with-plasma to Python doc build Project: http://git-wip-us.apache.org/repos/asf/arrow/repo Commit: http://git-wip-us.apache.org/repos/asf/arrow/commit/3c5290a7 Tree: http://git-wip-us.apache.org/repos/asf/arrow/tree/3c5290a7 Diff: http://git-wip-us.apache.org/repos/asf/arrow/diff/3c5290a7 Branch: refs/heads/master Commit: 3c5290a7bc5b0689df6dbba1ef0b3f7c385d9c2a Parents: c0fa8e0 Author: Wes McKinney <wes.mckin...@twosigma.com> Authored: Wed Aug 16 23:13:49 2017 -0400 Committer: Wes McKinney <wes.mckin...@twosigma.com> Committed: Wed Aug 16 23:13:49 2017 -0400 ---------------------------------------------------------------------- python/doc/source/memory.rst | 12 ------------ site/README.md | 2 +- 2 files changed, 1 insertion(+), 13 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/arrow/blob/3c5290a7/python/doc/source/memory.rst ---------------------------------------------------------------------- diff --git a/python/doc/source/memory.rst b/python/doc/source/memory.rst index f189199..4806bbb 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 ------------------------------- http://git-wip-us.apache.org/repos/asf/arrow/blob/3c5290a7/site/README.md ---------------------------------------------------------------------- diff --git a/site/README.md b/site/README.md index 1b0a82e..2c5f979 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/ ```