Memory is usually created by allocators with a gst.allocator.Allocator.alloc method call. When null is used as the allocator, the default allocator will be used.
Fluent builder for gst.allocator.Allocator
Fluent builder implementation template for gst.allocator.Allocator
Module for Allocator class