Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3810180
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T15:25:13+00:00 2026-05-19T15:25:13+00:00

I am looking for a way to select the sections and memory regions included

  • 0

I am looking for a way to select the sections and memory regions included in a core dump.
My application’s core dump size is about 30GB, most of it is in preallocated buffers which I don’t even need in debugging (and can be zeroed later). However, since the dump is so big, it takes too much time for the application to finish crashing and begin recovery.
Can anyone think of a way to select in advance which segments will be in the core dump?
Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T15:25:14+00:00Added an answer on May 19, 2026 at 3:25 pm

    According to the core(5) manpage, you can set which mappings are written to the core file:

    Since kernel 2.6.23, the
    Linux-specific
    /proc/PID/coredump_filter file can be
    used to control which memory segments
    are written to the core dump file in
    the event that a core dump is
    performed for the process with the
    corresponding process ID.

    The value in the file is a bit mask of
    memory mapping types (see mmap(2)).
    If a bit is set in the mask, then
    memory mappings of the corresponding
    type are dumped; otherwise they are
    not dumped. The bits in this file
    have the following meanings:

           bit 0  Dump anonymous private mappings.
           bit 1  Dump anonymous shared mappings.
           bit 2  Dump file-backed private mappings.
           bit 3  Dump file-backed shared mappings.
           bit 4 (since Linux 2.6.24)
                  Dump ELF headers.
           bit 5 (since Linux 2.6.28)
                  Dump private huge pages.
           bit 6 (since Linux 2.6.28)
                  Dump shared huge pages.
    

    By default, the following bits are set: 0, 1, 4 (if the
    CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS
    kernel configuration option is enabled), and 5.
    The value of this file is displayed in hexadecimal. (The
    default value is thus displayed as 33.)
    Memory-mapped I/O pages such as frame buffer are never dumped, and
    virtual DSO pages are always dumped, regardless of the coredump_filter
    value.

    …

    This file is only provided if the kernel was built with the
    CONFIG_ELF_CORE configuration option.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking for a way to select the most occurring value, e.g. the person
I'm looking for a way to select until a sum is reached. My "documents"
I am looking for a way to select multiple items within a JList by
I'm looking for the best way to select numbers directly from an in clause.
I am looking for a way for users to select one of the two
I am looking for a more jquery/cleaner way to be able to select all
I'm looking for a way to programatically select all the content inside a TinyMCE
Looking at the CSS3 specs, I can't find any way to select any element
I'm looking for a way to select a unique set of nodes from an
I'm looking for a way to select all elements on a page, except those

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.