GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Specifications
  • Development
  • Implementations
  • GitHub
  • LinkedIn
  • BlueSky
  • .NET
  • C++
  • Getting Started
  • Using Arrow C++ in your own project
  • Conventions
  • Basic Arrow Data Structures
  • Arrow File I/O
  • Arrow Compute

This view

  • Original page
  • New address

GeezerVison is showing arrow.apache.org — Buffers and Memory — Apache Arrow v26.0.1

Buffers and Memory#

In-Memory Buffers#

Factory Functions#

allocate_buffer(int64_t size, ...[, resizable])

Allocate a mutable buffer.

py_buffer(obj)

Construct an Arrow buffer from a Python bytes-like or buffer-like object

foreign_buffer(address, size[, base])

Construct an Arrow buffer with the given address and size.

Classes#

Buffer()

The base class for all Arrow buffers.

ResizableBuffer

A base class for buffers that can be resized.

Miscellaneous#

Codec(str compression[, compression_level])

Compression codec.

compress(buf[, codec, asbytes, memory_pool])

Compress data from buffer-like object.

decompress(buf[, decompressed_size, codec, ...])

Decompress data from buffer-like object.

Memory Pools#

MemoryPool()

Base class for memory allocation.

default_memory_pool()

Return the process-global memory pool.

jemalloc_memory_pool()

Return a memory pool based on the jemalloc heap.

mimalloc_memory_pool()

Return a memory pool based on the mimalloc heap.

system_memory_pool()

Return a memory pool based on the C malloc heap.

jemalloc_set_decay_ms(decay_ms)

Set arenas.dirty_decay_ms and arenas.muzzy_decay_ms to indicated number of milliseconds.

set_memory_pool(MemoryPool pool)

Set the default memory pool.

log_memory_allocations([enable])

Enable or disable memory allocator logging for debugging purposes

total_allocated_bytes()

Return the currently allocated bytes from the default memory pool.

On this page
Edit on GitHub
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.