Top 1000 call stacks for: Current heap snapshot
Ordering call stacks by: kSampledCount
Current sampling frequency: 1048576 bytes (on average)
Values shown below are for allocations still in use (i.e., objects that have been deallocated are not included)

Estimated Bytes Estimated Count Avg Bytes Per Allocation Sampled Bytes Sampled Count Call Stack
246,325,248733,374,318246,325,24873

tcmalloc::tcmalloc_internal::(anonymous namespace)::do_malloc_pages<>()
slow_alloc<>()
malloc
yb::malloc_with_check()
yb::rpc::BinaryCallParser::Parse()
yb::rpc::Connection::ProcessReceived()
yb::rpc::TcpStream::TryProcessReceived()
yb::rpc::TcpStream::Handler()
ev_invoke_pending
ev_run
yb::rpc::Reactor::RunThread()
yb::Thread::SuperviseThread()
start_thread
20,709,37631665,5361,245,18419

slow_alloc<>()
TCMallocInternalNew
rocksdb::Arena::AllocateNewBlock()
rocksdb::Arena::AllocateAligned()
rocksdb::ConcurrentArena::AllocateAligned()
rocksdb::(anonymous namespace)::SkipListRep<>::Allocate()
rocksdb::MemTable::PrepareAdd()
rocksdb::(anonymous namespace)::DirectWriteHandlerImpl::Put()
yb::docdb::ExternalIntentsBatchWriter::Apply()
rocksdb::WriteBatch::Iterate()
rocksdb::WriteBatchInternal::InsertInto()
rocksdb::DBImpl::WriteImpl()
yb::tablet::Tablet::WriteToRocksDB()
yb::tablet::Tablet::ApplyOperation()
yb::tablet::Tablet::ApplyRowOperations()
yb::tablet::WriteOperation::DoReplicated()
yb::tablet::Operation::Replicated()
yb::tablet::OperationDriver::ReplicationFinished()
yb::consensus::ConsensusRound::NotifyReplicationFinished()
yb::consensus::ReplicaState::ApplyPendingOperationsUnlocked()
yb::consensus::ReplicaState::AdvanceCommittedOpIdUnlocked()
yb::consensus::RaftConsensus::UpdateMajorityReplicated()
yb::rpc::StrandTaskWithErrorFunc<>::Run()
yb::rpc::Strand::Done()
yb::rpc::(anonymous namespace)::Worker::Execute()
yb::Thread::SuperviseThread()
start_thread
11,894,784107112,2301,122,30410

slow_alloc<>()
malloc
yb::malloc_with_check()
yb::rpc::BinaryCallParser::Parse()
yb::rpc::Connection::ProcessReceived()
yb::rpc::TcpStream::TryProcessReceived()
yb::rpc::TcpStream::Handler()
ev_invoke_pending
ev_run
yb::rpc::Reactor::RunThread()
yb::Thread::SuperviseThread()
start_thread
6,038,4001,2754,73623,6805

slow_alloc<>()
TCMallocInternalNew
cds::threading::pthread::Manager::attachThread()
yb::Thread::SuperviseThread()
start_thread
2,109,44010320,48040,9602

slow_alloc<>()
TCMallocInternalNew
yb::HdrHistogram::Init()
yb::HistogramPrototype::Instantiate()
yb::tserver::TabletServerServiceIf::InitMethods()
yb::tserver::TabletServiceImpl::TabletServiceImpl()
yb::tserver::TabletServer::RegisterServices()
yb::tserver::TabletServer::Start()
yb::tserver::TabletServerMain()
main
__libc_start_main
1,369,60021,40064641

slow_alloc<>()
TCMallocInternalNew
std::__1::basic_string<>::append()
google::protobuf::internal::WireFormatLite::ReadBytes()
yb::master::NamespaceIdentifierPB::MergePartialFromCodedStream()
yb::master::TableIdentifierPB::MergePartialFromCodedStream()
yb::master::GetTableSchemaResponsePB::MergePartialFromCodedStream()
google::protobuf::MessageLite::ParseFromCodedStream()
yb::rpc::Connection::HandleCallResponse()
yb::rpc::BinaryCallParser::Parse()
yb::rpc::Connection::ProcessReceived()
yb::rpc::TcpStream::TryProcessReceived()
yb::rpc::TcpStream::Handler()
ev_invoke_pending
ev_run
yb::rpc::Reactor::RunThread()
yb::Thread::SuperviseThread()
start_thread
1,075,2002005,3765,3761

slow_alloc<>()
TCMallocInternalNew
rocksdb::NewLRUCache()
rocksdb::BlockBasedTableFactory::BlockBasedTableFactory()
rocksdb::ColumnFamilyOptions::ColumnFamilyOptions()
rocksdb::VersionSet::VersionSet()
rocksdb::DBImpl::DBImpl()
rocksdb::DB::Open()
yb::tablet::Tablet::OpenKeyValueTablet()
yb::tablet::TabletBootstrap::Bootstrap()
yb::tablet::BootstrapTablet()
yb::tserver::TSTabletManager::OpenTablet()
yb::ThreadPool::DispatchThread()
yb::Thread::SuperviseThread()
start_thread
1,149,12014,36480801

slow_alloc<>()
TCMallocInternalNew
rocksdb::ColumnFamilyData::ColumnFamilyData()
rocksdb::VersionSet::VersionSet()
rocksdb::DBImpl::DBImpl()
rocksdb::DB::Open()
yb::tablet::Tablet::OpenKeyValueTablet()
yb::tablet::TabletBootstrap::Bootstrap()
yb::tablet::BootstrapTablet()
yb::tserver::TSTabletManager::OpenTablet()
yb::ThreadPool::DispatchThread()
yb::Thread::SuperviseThread()
start_thread
1,174,6564372,6882,6881

slow_alloc<>()
TCMallocInternalNew
rocksdb::DB::Open()
yb::tablet::Tablet::OpenKeyValueTablet()
yb::tablet::TabletBootstrap::Bootstrap()
yb::tablet::BootstrapTablet()
yb::tserver::TSTabletManager::OpenTablet()
yb::ThreadPool::DispatchThread()
yb::Thread::SuperviseThread()
start_thread
1,179,6489131,072131,0721

slow_alloc<>()
malloc
yb::rpc::CircularReadBuffer::CircularReadBuffer()
yb::rpc::YBConnectionContext::YBConnectionContext()
yb::rpc::ConnectionContextFactoryImpl<>::Create()
yb::rpc::Messenger::RegisterInboundSocket()
ev::base<>::method_thunk<>()
ev_invoke_pending
ev_run
yb::rpc::Acceptor::RunThread()
yb::Thread::SuperviseThread()
start_thread
1,048,5762564,0964,0961

slow_alloc<>()
TCMallocInternalNew
yb::consensus::ReplicaState::AddPendingOperation()
yb::consensus::RaftConsensus::AppendNewRoundsToQueueUnlocked()
yb::consensus::RaftConsensus::AppendNewRoundToQueueUnlocked()
yb::consensus::RaftConsensus::BecomeLeaderUnlocked()
yb::consensus::RaftConsensus::DoElectionCallback()
yb::ThreadPool::DispatchThread()
yb::Thread::SuperviseThread()
start_thread
1,126,2724192,6882,6881

slow_alloc<>()
TCMallocInternalNew
yb::ThreadLocalRandom()
yb::RetryFunc()
yb::tserver::PgClientSession::DdlAtomicityFinishTransaction()
yb::tserver::PgClientServiceImpl::FinishTransaction()
std::__1::__function::__func<>::operator()()
yb::tserver::PgClientServiceIf::Handle()
yb::rpc::ServicePoolImpl::Handle()
yb::rpc::InboundCall::InboundCallTask::Run()
yb::rpc::(anonymous namespace)::Worker::Execute()
yb::Thread::SuperviseThread()
start_thread
1,369,60021,40064641

slow_alloc<>()
TCMallocInternalNew
InsertOrDie<>()
yb::MetricEntity::FindOrCreateMetric<>()
rocksdb::CreateDBStatistics()
yb::tablet::Tablet::Tablet()
yb::tablet::TabletBootstrap::Bootstrap()
yb::tablet::BootstrapTablet()
yb::tserver::TSTabletManager::OpenTablet()
yb::ThreadPool::DispatchThread()
yb::Thread::SuperviseThread()
start_thread
1,179,6489131,072131,0721

slow_alloc<>()
malloc
yb::rpc::CircularReadBuffer::CircularReadBuffer()
yb::rpc::YBConnectionContext::YBConnectionContext()
yb::rpc::ConnectionContextFactoryImpl<>::Create()
yb::rpc::Reactor::AssignOutboundCall()
yb::rpc::Reactor::ProcessOutboundQueue()
ev::base<>::method_thunk<>()
ev_invoke_pending
ev_run
yb::rpc::Reactor::RunThread()
yb::Thread::SuperviseThread()
start_thread
1,064,4483962,6882,6881

slow_alloc<>()
TCMallocInternalNew
std::__1::__hash_table<>::__rehash_unique[abi:ue170006]()
google::protobuf::FileDescriptorTables::AddAliasUnderParent()
google::protobuf::DescriptorBuilder::AddSymbol()
google::protobuf::DescriptorBuilder::BuildFieldOrExtension()
google::protobuf::DescriptorBuilder::BuildMessage()
google::protobuf::DescriptorBuilder::BuildFileImpl()
google::protobuf::DescriptorPool::BuildFileFromDatabase()
google::protobuf::DescriptorPool::TryFindFileInFallbackDatabase()
google::protobuf::DescriptorPool::FindFileByName()
google::protobuf::internal::AssignDescriptors()
protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptors()
google::protobuf::internal::FunctionClosure0::Run()
yb::tserver::GetTransactionStatusRequestPB::GetMetadata()
google::protobuf::Message::SpaceUsedLong()
yb::rpc::RpcCallPBParams::ParseRequest()
yb::rpc::YBInboundCall::ParseParam()
yb::rpc::RpcContext::RpcContext()
std::__1::__function::__func<>::operator()()
yb::tserver::TabletServerServiceIf::Handle()
yb::rpc::ServicePoolImpl::Handle()
yb::rpc::InboundCall::InboundCallTask::Run()
yb::rpc::(anonymous namespace)::Worker::Execute()
yb::Thread::SuperviseThread()
start_thread
1,048,5761288,1928,1921

slow_alloc<>()
malloc
yb::HeapBufferAllocator::AllocateInternal()
yb::internal::ArenaBase<>::NewBuffer()
yb::internal::ArenaBase<>::ArenaBase()
std::__1::__function::__func<>::operator()()
yb::Trace::NewEntry()
yb::client::internal::Batcher::CreateRpc()
yb::client::internal::Batcher::ExecuteOperations()
yb::client::internal::Batcher::TabletLookupFinished()
std::__1::__function::__func<>::operator()()
yb::client::internal::MetaCache::DoLookupTabletByKey<>()::{lambda()#1}::operator()()
yb::client::internal::MetaCache::LookupTabletByKey()
yb::client::internal::Batcher::LookupTabletFor()
yb::client::(anonymous namespace)::FlushBatcherAsync()
yb::client::YBSession::FlushAsync()
std::__1::__function::__func<>::operator()()
std::__1::__function::__func<>::operator()()
yb::Thread::SuperviseThread()
start_thread
1,228,8002549,15249,1521

slow_alloc<>()
TCMallocInternalNew
std::__1::__hash_table<>::__do_rehash<>()
google::protobuf::DescriptorPool::Tables::AddSymbol()
google::protobuf::DescriptorBuilder::AddSymbol()
google::protobuf::DescriptorBuilder::BuildFieldOrExtension()
google::protobuf::DescriptorBuilder::BuildMessage()
google::protobuf::DescriptorBuilder::BuildFileImpl()
google::protobuf::DescriptorPool::BuildFileFromDatabase()
google::protobuf::DescriptorPool::TryFindFileInFallbackDatabase()
google::protobuf::DescriptorPool::FindFileByName()
google::protobuf::internal::AssignDescriptors()
protobuf_yb_2ftserver_2fpg_5fclient_2eproto::protobuf_AssignDescriptors()
google::protobuf::internal::FunctionClosure0::Run()
yb::tserver::PgHeartbeatRequestPB::GetMetadata()
google::protobuf::Message::SpaceUsedLong()
yb::rpc::RpcCallPBParams::ParseRequest()
yb::rpc::YBInboundCall::ParseParam()
yb::rpc::RpcContext::RpcContext()
std::__1::__function::__func<>::operator()()
yb::tserver::PgClientServiceIf::Handle()
yb::rpc::ServicePoolImpl::Handle()
yb::rpc::InboundCall::InboundCallTask::Run()
yb::rpc::(anonymous namespace)::Worker::Execute()
yb::Thread::SuperviseThread()
start_thread
1,058,3041,3787687681

slow_alloc<>()
TCMallocInternalNew
google::protobuf::DescriptorPool::Tables::AllocateBytes()
google::protobuf::DescriptorBuilder::BuildMessage()
google::protobuf::DescriptorBuilder::BuildFileImpl()
google::protobuf::DescriptorPool::BuildFileFromDatabase()
google::protobuf::DescriptorPool::TryFindFileInFallbackDatabase()
google::protobuf::DescriptorPool::FindFileByName()
google::protobuf::internal::AssignDescriptors()
protobuf_yb_2fconsensus_2fconsensus_2eproto::protobuf_AssignDescriptors()
google::protobuf::internal::FunctionClosure0::Run()
yb::consensus::RunLeaderElectionRequestPB::GetMetadata()
google::protobuf::Message::SpaceUsedLong()
yb::rpc::RpcCallPBParams::ParseRequest()
yb::rpc::YBInboundCall::ParseParam()
yb::rpc::RpcContext::RpcContext()
std::__1::__function::__func<>::operator()()
yb::consensus::ConsensusServiceIf::Handle()
yb::rpc::ServicePoolImpl::Handle()
yb::rpc::InboundCall::InboundCallTask::Run()
yb::rpc::(anonymous namespace)::Worker::Execute()
yb::Thread::SuperviseThread()
start_thread
1,048,5762564,0964,0961

slow_alloc<>()
TCMallocInternalNew
yb::ThreadPool::DoSubmit()
yb::ThreadPoolToken::SubmitFunc()
yb::tablet::OperationDriver::ExecuteAsync()
yb::tablet::TabletPeer::Submit()
yb::tablet::TabletPeer::SubmitUpdateTransaction()
yb::tablet::TransactionCoordinator::Impl::ExecutePostponedLeaderActions()
yb::tserver::TabletServiceImpl::UpdateTransaction()
std::__1::__function::__func<>::operator()()
yb::tserver::TabletServerServiceIf::Handle()
yb::rpc::ServicePoolImpl::Handle()
yb::rpc::InboundCall::InboundCallTask::Run()
yb::rpc::(anonymous namespace)::Worker::Execute()
yb::Thread::SuperviseThread()
start_thread
1,052,6722574,0964,0961

slow_alloc<>()
TCMallocInternalNew
std::__1::deque<>::__add_back_capacity()
yb::ThreadPool::DoSubmit()
yb::MaintenanceManager::RunSchedulerThread()
yb::Thread::SuperviseThread()
start_thread
1,179,6489131,072131,0721

slow_alloc<>()
malloc
yb::rpc::CircularReadBuffer::CircularReadBuffer()
yb::rpc::RefinedStreamFactory::Create()
yb::rpc::(anonymous namespace)::CreateStream<>()
yb::rpc::Reactor::AssignOutboundCall()
yb::rpc::Reactor::ProcessOutboundQueue()
ev::base<>::method_thunk<>()
ev_invoke_pending
ev_run
yb::rpc::Reactor::RunThread()
yb::Thread::SuperviseThread()
start_thread
1,120,0003503,2003,2001

slow_alloc<>()
TCMallocInternalNew
rocksdb::VersionSet::CreateColumnFamily()
rocksdb::VersionSet::Recover()
rocksdb::DBImpl::Recover()
rocksdb::DB::Open()
yb::tablet::Tablet::OpenKeyValueTablet()
yb::tablet::TabletBootstrap::Bootstrap()
yb::tablet::BootstrapTablet()
yb::tserver::TSTabletManager::OpenTablet()
yb::ThreadPool::DispatchThread()
yb::Thread::SuperviseThread()
start_thread
1,044,4805120,48020,4801

slow_alloc<>()
TCMallocInternalNew
yb::HdrHistogram::Init()
yb::HistogramPrototype::Instantiate()
yb::tserver::RemoteBootstrapServiceIf::InitMethods()
yb::tserver::RemoteBootstrapServiceImpl::RemoteBootstrapServiceImpl()
yb::tserver::TabletServer::RegisterServices()
yb::tserver::TabletServer::Start()
yb::tserver::TabletServerMain()
main
__libc_start_main
1,044,4805120,48020,4801

slow_alloc<>()
TCMallocInternalNew
yb::HdrHistogram::Init()
yb::HistogramPrototype::Instantiate()
yb::tserver::PgClientServiceIf::InitMethods()
yb::tserver::PgClientServiceIf::PgClientServiceIf()
yb::tserver::PgClientServiceImpl::PgClientServiceImpl()
yb::tserver::TabletServer::RegisterServices()
yb::tserver::TabletServer::Start()
yb::tserver::TabletServerMain()
main
__libc_start_main