Skip to content Skip to sidebar Skip to footer
Showing posts with the label Resources

Resident Set Size (rss) Limit Has No Effect

The following problem occurs on a machine running Ubuntu 10.04 with the 2.6.32-22-generic kernel: S… Read more Resident Set Size (rss) Limit Has No Effect

How Do I Close A File Object I Never Assigned To A Variable?

from sys import argv script, origin, destination = argv open(destination, 'w').write(open(… Read more How Do I Close A File Object I Never Assigned To A Variable?

What Is Python's Equivalent To 'ulimit'?

I'm trying to implement a check on system resources for the current shell (basically everything… Read more What Is Python's Equivalent To 'ulimit'?