Out of memory errors with custom plugin

We do run Scheduled Digest custom plugin, however it also runs on our two other installations and those have no issues.