I ran a query from MySQL server with big data. It works in development (But the table is not as big as production). Now when I migrate it into Production, it seems like out of memory

Out of memory (Needed 89684760 bytes)

Which setting I can change to increase the memory limit for MySQL? I still got enough space on my server to utilize.

I tried to limit it works, but somehow my application need all the data...

I use MySQL 4.1 and also tried for increase key buffer size and sort buffer size but no works

有帮助吗?

解决方案

i dont know if any setting to increase the limit but i resolve this problem with code..

Idea is to create temp table.

1. empty temp table
2. insert into with select query
3. query from temp table

it works finally.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top