Last updated on MARCH 08, 2017
Applies to:MySQL Cluster - Version 7.4 and later
Information in this document applies to any platform.
How do you release memory in ndb api?
Following is an example of where memory may be getting leaked.
==91402== 89,456,808 bytes in 42 blocks are still reachable in loss record 3,088 of 3,088
==91402== at 0x4C2A7EA: operator new(unsigned long) (vg_replace_malloc.c:422)
==91402== by 0x7314727: init (TCP_Transporter.hpp:185)
==91402== by 0x7314727: TCP_Transporter::initTransporter() (TCP_Transporter.cpp:192)
==91402== by 0x730C0EA: TransporterRegistry::createTCPTransporter(TransporterConfiguration*) (TransporterRegistry.cpp:674)
==91402== by 0x73354AF: IPCConfig::configureTransporters(unsigned int, ndb_mgm_configuration const&, TransporterRegistry&, bool) (IPCConfig.cpp:261)
==91402== by 0x7300249: TransporterFacade::configure(unsigned short, ndb_mgm_configuration const*) (TransporterFacade.cpp:1094)
==91402== by 0x73004C0: TransporterFacade::start_instance(unsigned short, ndb_mgm_configuration const*) (TransporterFacade.cpp:482)
==91402== by 0x72EB0AB: Ndb_cluster_connection_impl::connect(int, int, int) (ndb_cluster_connection.cpp:1007)
==91402== by 0x63D649: MySqlTableModification::thread_main(void const*) (MySqlTableModification.cc:2492)
==91402== by 0x50D0F8F: DhaFw::startTheThead(void*) (TrSvThread.cc:93)
==91402== by 0x6D67DC4: start_thread (in /usr/lib64/libpthread-2.17.so)
==91402== by 0x8A3F28C: clone (in /usr/lib64/libc-2.17.so)
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms