Question

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

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top