I have My rooter down

Hi i have one customer with a small cafe about 50seat. i Put them one mikrotik RB750GR3 with one AP Ubiquiti (about 150Clients). I have one problem when the customer they have too much peaople i have my router down for little with no internet. I expand my Dhcp from 254 to 512 per 4Hour because i see that not realease the ip. i am better but i have the same problem
what you propose to change the router with better ( More memory or better CPUI) and what model or i can do something better with the same router ?

Thanks

Reduce DHCP lease time if it is too long. May be to double the average time customers hang around. One hour should be probably enough for majority of clients.

Btw, default lease time (in 6.44.3 via webfig) seems to be 10 minutes.

Do you use hotspot portal? That one seems to have different defaults.

Can you please share your config?
What UAP do you use? Is it updated?