开发者

Has anyone faced this error -- Out of memory (Needed 48984 bytes)?

Has anyone faced this error: Out of memory (Needed 48984 bytes) before?

Here are the details:

I have a DLL file that contains some mathematical algorithms i开发者_如何学Gomplemented. These algorithms need around 10k values for their calculation. So we have stored 10k values ina MYSQL database. The DLL uses MYSQL C APIs to import the 10k values and does calculations. It works fine but if I keep the DLL running continuously I get following error -- Out of memory (Needed 48984 bytes).

I hope this explanation would help you to understand issue. I cannot share the code as I have only DDL file.


It sounds like you have a monumental memory leak. Maybe there is a method in the DLL that you should be using to release the 10k values read from the MySQL database?


[SOLVED]:

max_allowed_packet when dump the DB, must be smaller when restore the DB

example max_allowed_packet = 16M #when dump DB max_allowed_packet = 32M #when restore DB

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜