Running a large section of CSV data as a simulation i was getting 6 megabyte worth of action data, and i didn't want to save those keyframes in the file, couldn't figure out how to purge the action data from the .blend, ideasman_42 offered a solution.
for a in bpy.data.actions: a.user_clear()
# save and reload