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 6171973
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:18:49+00:00 2026-05-23T23:18:49+00:00

I am running memcheck using valgrind. the o/p is ==3091== 204 bytes in 17

  • 0

I am running memcheck using valgrind.
the o/p is

==3091== 204 bytes in 17 blocks are definitely lost in loss record 1,406 of 2,299

what does it mean ?

What I guess there is 204 bytes memory loss

but what it meant by

17 blocks ?

and how to know how many time this memory leak happened by same function ?

Complete stack trace of the valgrind

==3091== 204 bytes in 17 blocks are definitely lost in loss record 1,406 of 2,299
==3091==    at 0x4A05E1C: malloc (vg_replace_malloc.c:195)
==3091==    by 0x4CA304: fs_get (fs_unix.c:38)
==3091==    by 0x4E58C1: cpystr (misc.c:74)
==3091==    by 0x4D130F: ip_nametoaddr (ip_unix.c:178)
==3091==    by 0x4D15F4: tcp_open (tcp_unix.c:192)
==3091==    by 0x4D41A5: cc_connect_http_proxy (proxy.c:164)
==3091==    by 0x4D4B0C: cc_connect (proxy.c:571)
==3091==    by 0x4D506D: ssl_open (osdep.c:353)
==3091==    by 0x4E56C3: net_open_work (mail.c:6240)
==3091==    by 0x4E558A: net_open (mail.c:6196)
==3091==    by 0x4FBA04: imap_open (imap4r1.c:841)
==3091==    by 0x4D9CB1: mail_open_work (mail.c:1355)
  • 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-23T23:18:49+00:00Added an answer on May 23, 2026 at 11:18 pm

    It means that there were 17 different calls to malloc (or another allocator function) whose return was not free‘d. Those 17 allocations represented a total of 204 bytes being lost.

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

Sidebar

Related Questions

When running Valgrind's memcheck tool, I often get many hundreds of thousands (or more,
I've tried running valgrind (memcheck and massif) on an app I wrote, but all
Running a rails site right now using SQLite3. About once every 500 requests or
Running ipconfig /all shows a Teredo Tunneling Pseudo-Interface. What is that? Does this have
Running an ASP.Net website and using TinyMCE for content management. Users need to be
Running Nh 3.2 using SQLite throws the following exception: ---> NHibernate.HibernateException: Could not create
Running IIS 6 with a main website using .net 4. I have many sub
I typed in >>valgrind ./myprogramname --tools-memcheck --leak-check=yes But the summary of the memory leaks
Running the following program will print space overflow: current size 8388608 bytes. I have
Running valgrind or purify would be the next steps But while while writing the

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.