Currently Admin Interface for "System Log" has Delete All button that tries deleting all records via usual Temp Handler "object" model and obviously fails when there is a lots of records in that table.
- add "IsDeleted" column to the "SystemLog" table
- via simple SQL set "IsDeleted=1" to all records that needs to be deleted instead of deleting them immediately from DB
- don't show "IsDeleted=1" records anywhere
- from CRON delete records marked with "IsDeleted=1" using "TempHandler" by 100 at a time to conserve memory