{"id":639,"date":"2006-04-06T16:35:24","date_gmt":"2006-04-06T06:35:24","guid":{"rendered":"http:\/\/www.flamingspork.com\/blog\/2006\/04\/06\/doxygen-loves-the-ram\/"},"modified":"2006-04-06T21:38:58","modified_gmt":"2006-04-06T11:38:58","slug":"doxygen-loves-the-ram","status":"publish","type":"post","link":"https:\/\/www.flamingspork.com\/blog\/2006\/04\/06\/doxygen-loves-the-ram\/","title":{"rendered":"doxygen loves the RAM"},"content":{"rendered":"<p>Why when running doxygen over the mysql tree (5.0 or 5.1) do I have a process with 590MB of RSS memory?<\/p>\n<p>Not exactly inspiring confidence. Although I guess I&#8217;m lucky because I have the RAM to do that in (on any box around here I actually use frequently).<\/p>\n<p>The output of doxygen can be really useful when trying to learn (or remember) the relationships between various bits of code. I find it a bit faster than switching between buffers in an editor and then trying to remember where some class was defined. links are a <strong>good <\/strong>thing.<\/p>\n<p>It&#8217;d be great if we switched all our public API docs to doxygen, as the output really is quite nice. In fact, internal APIs wouldn&#8217;t be bad either. Although, naturally, the real documentation is the source, which (luckily) the doxygen output also makes easy to view.<\/p>\n<p>I&#8217;ve rigged up this script to automatically pull the latest out of the public repository (using the free bk client) and generate doxygen docs. About time I share this with the world. <a href=\"\/junkcode\/get_trees.sh\">get_trees.sh<\/a> you also need the <a href=\"\/junkcode\/get_trees.sh-Doxyfile.template\">doxygen template<\/a> (rename it to Doxyfile.template in the same directory as get_trees.sh)<a href=\"\/junkcode\/get_trees.sh\"><br \/>\n<\/a><\/p>\n<p>I run this in cron @daily.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Why when running doxygen over the mysql tree (5.0 or 5.1) do I have a process with 590MB of RSS memory? Not exactly inspiring confidence. Although I guess I&#8217;m lucky because I have the RAM to do that in (on &hellip; <a href=\"https:\/\/www.flamingspork.com\/blog\/2006\/04\/06\/doxygen-loves-the-ram\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[14],"tags":[],"class_list":["post-639","post","type-post","status-publish","format-standard","hentry","category-mysql"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5a6n8-aj","jetpack-related-posts":[{"id":754,"url":"https:\/\/www.flamingspork.com\/blog\/2006\/10\/26\/mysql-ndb-team-trees-up-on-bkbitsnet\/","url_meta":{"origin":639,"position":0},"title":"mysql NDB team trees up on bkbits.net","author":"Stewart Smith","date":"2006-10-26","format":false,"excerpt":"If you head over here: mysql on bkbits.net you can get a copy of the NDB team trees. This is where we push stuff before it hits the main MySQL trees so that we can get some extra testing in (also for when pulling from the main tree). So you\u2026","rel":"","context":"In &quot;mysql&quot;","block_context":{"text":"mysql","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/mysql\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":751,"url":"https:\/\/www.flamingspork.com\/blog\/2006\/10\/23\/weekly-builds\/","url_meta":{"origin":639,"position":1},"title":"weekly builds","author":"Stewart Smith","date":"2006-10-23","format":false,"excerpt":"Saturn's autoweb I've hacked my scripts that generate doxygen docs to also build MySQL 4.1, 5.0 and 5.1 for AMD64 (the box that it's running on) with Cluster. This is to help my idea of running Gallery at home with NDB disk data tables in very recent MySQL builds. How's\u2026","rel":"","context":"In &quot;mysql&quot;","block_context":{"text":"mysql","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/mysql\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2186,"url":"https:\/\/www.flamingspork.com\/blog\/2010\/11\/01\/improved-haildb-documentation\/","url_meta":{"origin":639,"position":2},"title":"Improved HailDB documentation","author":"Stewart Smith","date":"2010-11-01","format":false,"excerpt":"I just spent some time on the Doxygen documentation for HailDB, making sure all the new APIs are documented. You can view them online over at http:\/\/www.haildb.com\/doc\/api\/html\/","rel":"","context":"In &quot;code&quot;","block_context":{"text":"code","link":"https:\/\/www.flamingspork.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3655,"url":"https:\/\/www.flamingspork.com\/blog\/2014\/01\/14\/converting-mysql-trees-to-git\/","url_meta":{"origin":639,"position":3},"title":"Converting MySQL trees to git","author":"Stewart Smith","date":"2014-01-14","format":false,"excerpt":"I have put up a set of scripts on github: https:\/\/github.com\/stewartsmith\/bzr-to-git-conversion-scripts. Why do I need these? Well... if only bzr fast-export|git fast-import worked flawlessly for large, complex and old trees. It doesn't. Basically, when you clone this repo you can run \".\/sync-BLAH.sh\" and it'll pull BZR trees for the project,\u2026","rel":"","context":"In &quot;code&quot;","block_context":{"text":"code","link":"https:\/\/www.flamingspork.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3705,"url":"https:\/\/www.flamingspork.com\/blog\/2014\/03\/17\/ghosts-of-mysql-past-part-11-why-are-you-happy-about-this\/","url_meta":{"origin":639,"position":4},"title":"Ghosts of MySQL Past, part 11: Why are you happy about this?","author":"Stewart Smith","date":"2014-03-17","format":false,"excerpt":"This is part 11 in what's shaping up to be the best part of a 6 week series (Part 1, 2, 3, 4, 5, 6, 7, 7.1, 8, 8.1, 9 and 10) on various history bits of MySQL, somewhat following my LCA2014 talk (video here). One of my favorite MySQL\u2026","rel":"","context":"In &quot;mysql&quot;","block_context":{"text":"mysql","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/mysql\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":847,"url":"https:\/\/www.flamingspork.com\/blog\/2007\/06\/19\/my-top-5-wishlist-for-mysql\/","url_meta":{"origin":639,"position":5},"title":"My Top 5 Wishlist for MySQL","author":"Stewart Smith","date":"2007-06-19","format":false,"excerpt":"I'm going and stealing Jay's idea (who stole it off Brian Duff... but his was for Oracle so obviously doesn't count :) So, my five wishes for MySQL Are: 5. Six-monthly release cycles Getting a release out there takes way too long. There's a variety of reasons, but seeing the\u2026","rel":"","context":"In &quot;mysql&quot;","block_context":{"text":"mysql","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/mysql\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/639","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/comments?post=639"}],"version-history":[{"count":0,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/639\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/media?parent=639"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/categories?post=639"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/tags?post=639"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}