Actually if you have a database with a lot of records and you run /bcp lookup t=5d, the server crashes due to memory limit. It's necessary to limit the number of records and change the behaviour of /bcp show command.
Steps to reproduce the issue
Database with a large number of logs
Running /bcp lookup t=5d
Fatal error: Allowed memory size of 1073741824 bytes exhausted
Issue description
Actually if you have a database with a lot of records and you run /bcp lookup t=5d, the server crashes due to memory limit. It's necessary to limit the number of records and change the behaviour of /bcp show command.
Steps to reproduce the issue
OS and versions
Crashdump, backtrace or other files