Follow Us
Contribute
  • Register

Error 2008: MySQL Client ran out of memory

0 votes

mysql: Out of memory at line 42, 'malloc.c'

mysql: needed (X) byte (X), memory in use: (X) bytes (X)

ERROR 2008: MySQL client ran out of memory

requested 1 year ago by errorbase (169,970 points)

2 Solutions

0 votes
  1. Check your SQL statement first. The query may be wrong and mysql client may be trying to execute a query that can never be handled.
  2. If you are sure about the query, then you may use "--quick" option with mysql command:
C:\>mysql -u root -p --quick
solved 1 year ago by errorbase (169,970 points)
0 votes

This error message appears when mysql client doesn't have enough memory to handle that query result set.

solved 1 year ago by errorbase (169,970 points)

Related errors

0 votes
1 solution
+1 vote
1 solution
requested 1 year ago by errorbase (169,970 points)
0 votes
1 solution
0 votes
1 solution
requested 1 year ago by errorbase (169,970 points)