On Fri, Dec 20, 2024 at 1:07 AM 'Mikihito Matsuura' via Protocol Buffers < [email protected]> wrote:
> Hi, > > Is there any way to quickly disable arena allocation and serve allocations > via a system allocator, either by build flag or runtime configuration? > I have not tested this, but you might be able to do what you need by passing a very small `max_block_size` in the arena options. That would force each allocation to go its own block. > We are trying to debug OOB issue > <https://buganizer.corp.google.com/issues/354048338> in arena allocation, > but it can not be caught by e.g. ASan. > It would be great if we have a "debug mode" which splits an arena into > individual allocations so that we can utilize existing memory debugging > tools. > > Mikihito > > -- > You received this message because you are subscribed to the Google Groups > "Protocol Buffers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion visit > https://groups.google.com/d/msgid/protobuf/9d9f54cc-521d-4148-956e-201cf1d8ad3an%40googlegroups.com > <https://groups.google.com/d/msgid/protobuf/9d9f54cc-521d-4148-956e-201cf1d8ad3an%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/protobuf/CAM9aRsJtN6d4sTtZYDA4kReJam6W-jrD9PVKc725GTOXSgMggg%40mail.gmail.com.
