Alert Table Filling Up - Need to delete rows
Posted: Thu Mar 10, 2022 5:07 pm
Hi,
My indicator uses alot of memory, and I'm trying to find ways to reduce it. I use alot of drawing functions, and some tables, and I also use the built in Sound Alerts, which dumps messages into the Alerts table.
There are times where I sends alot of alerts, seems to be happening alot more because some ALGO's that I'm finding to be running.
I want to DELETE entries in the alert table, so I was looking for an API to do so. I found this Cancel below, but it seems to just stop the Sound from playing, and doesn't DELETE it from the alert table. Do you have any API that can perform the delete function, so that I can periodically empty rows from the table without shutting down Bookmap?
public finalĀ Layer1ApiSoundAlertCancelMessage.Layer1ApiSoundMessagesFilter
My indicator uses alot of memory, and I'm trying to find ways to reduce it. I use alot of drawing functions, and some tables, and I also use the built in Sound Alerts, which dumps messages into the Alerts table.
There are times where I sends alot of alerts, seems to be happening alot more because some ALGO's that I'm finding to be running.
I want to DELETE entries in the alert table, so I was looking for an API to do so. I found this Cancel below, but it seems to just stop the Sound from playing, and doesn't DELETE it from the alert table. Do you have any API that can perform the delete function, so that I can periodically empty rows from the table without shutting down Bookmap?
public finalĀ Layer1ApiSoundAlertCancelMessage.Layer1ApiSoundMessagesFilter