Cannot allocate memory for the buffer pool when using remote access MySQL
"Separate" -- meaning they are on 2 different servers?

If so, then 10GB for the buffer_pool should be fine for a mysql-only server with 16GB of RAM.

If you have both on the same server, set the buffer_pool to

70% * (16G - (ram needed for web server))



  down with the log "Cannot allocate memory for the buffer pool"


Something is hogging memory.  It could be:


Other processes
Settings in mysql that are too high.  Did you change some other settings?


Or are you getting that error on the separate web server?  If so, then you have MySQL there!