title: postgres database: When does a job get killed
body: <p>I am using a postgres database with sql-alchemy and flask. I have a couple of jobs which I have to run through the entire database to updates entries. When I do this on my local machine I get a very different behavior compared to the server. 
  E.g. there seems to be an upper limit on how many entries I can get from the database?
  On my local machine I just query all elements, while on the server I have to query 2000 entries step by step.
  If I have too many entries the server gives me the message 'Killed'.
  I would like to know
  1. Who is killing my jobs (sqlalchemy, postgres)?
  2. Since this does seem to behave differently on my local machine there must be a way to control this. Where would that be?
  thanks
  carl</p>