oTree Forum >

Heroku - Error R15 (Memory quota vastly exceeded)

#1 by Student

Hi,

I've been having issues with Heroku and have been going around in circles upgrading and adding dynos etc. I'm back now trying to find out what code is consuming so much memory and have stripped the export code back to a minimum. 

Why would a custom_export as simple as the following cause Heroku to crap out? 

def custom_export(players):
    for p in players:
        yield ["Player here!"]

If I choose to download a standard oTree per-app CSV, it returns almost straight away with around 2k rows. 

Would appreciate any help with this. 

Thanks.

Write a reply

Set forum username