mysql: Out of memory at line 42, 'malloc.c' mysql: needed 8136 byte (8k), memory in use: 12481367 bytes (12189k) ERROR 2008: MySQL client ran out of memory
To remedy the problem, first check whether your query is
correct. Is it reasonable that it should return so many rows?
If not, correct the query and try again. Otherwise, you can
invoke mysql with the
--quick option. This causes it
to use the
C API function to retrieve the result set, which places less
of a load on the client (but more on the server).
Copyright © 1997, 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices