Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #88

Closed (moved)
Open
Created Feb 03, 2005 by weasel (Peter Palfrader)@weasel

please free all memory before shutting down

I've been playing with dmalloc, a library that checks for leaks (and other stuff). It's a lot lighter than for instance valgrind, but unfortunately Tor does not play very nice with it.

It would be great if you could clean up all the memory you think you are using before shutdown, so that tools like dmalloc can tell you what you missed.

For instance now dmalloc gives me 1107411810: 73044: total-size count source 1107411810: 73044: 81920 5 buffers.c:37 1107411810: 73044: 65360 1634 routerparse.c:1066 1107411810: 73044: 36864 9 buffers.c:112 1107411810: 73044: 31234 1634 routerparse.c:1068 1107411810: 73044: 17568 122 routerparse.c:804 1107411810: 73044: 6528 24 aes.c:74 1107411810: 73044: 6454 1 dirserv.c:789 1107411810: 73044: 6452 1 torgzip.c:111 1107411810: 73044: 6144 24 container.c:45 1107411810: 73044: 4800 122 routerparse.c:908 1107411810: 73044: 3920 245 crypto.c:177 ...

after I shutdown tor. This isn't very useful yet, but it could be :)

[Automatically added by flyspray2trac: Operating System: All]

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None