Explore Programming

MySQLdb Leaks Memory

June 30, 2010

Whenever people search for a Python library for MySQL, they get directed to MySQL for Python. However, there are some nasties hidden in it. Searching for “mysql python memory leaks” results in a few links which suggest that using Unicode causes memory leaks with the library. Today, however, I found another cause for MySQLdb memory leaks, while debugging a leaky Python daemon at work — database errors. Use this script:

Continue reading →

Why I Program in C++

Representative image for the topic, Why I Program in C++

March 12, 2004

IBM’s Pervasive Computing Lab is an intelligent home with most electronic gadgets networked together. All but two gadgets run Java applications on Linux. IBM chose Java because “it’s a good way to insulate developers from the idiosyncracies of specific operating system deployments.” Luxor is a XUL toolkit with “a (sic) ultra-light weight, multi-threaded web server, a portal engine and Apache Velocity as its template engine.” XUL is an XML vocabulary for assembling GUI.

Continue reading →

<<

Programming

Tahir Hashmi