Does your products table have lots and lots of rows? Sometimes PHPMyAdmin struggles with these kinds of operations on big tables.
One option is to increase the amount of memory php has access to by editing your php.ini. Increase the value of "memory_limit"
The better solution would be to connect to the database through something better than phpmyadmin; either either the command line on the server, or from NaviCat or something on your computer.
Bookmarks