ImageMagick doesn't work on PHP when get 700K rows
Posted: 2016-01-11T16:33:27-07:00
PHP exec(convert) doesn't work if the mysql query got over 700K database rows, but it works on 400K rows.
I run it on a 1GB RMA machine. If the total of rows over 700K, convert would not export any images to disk, and returns error -1. If the total of rows around 400K, everything would be fine. I had checked the memory usage. In 700K rows, the memory has 70MB free RAM, and in 400K it has 130MB free RAM.
Can anyone help me out? Thanks.
I run it on a 1GB RMA machine. If the total of rows over 700K, convert would not export any images to disk, and returns error -1. If the total of rows around 400K, everything would be fine. I had checked the memory usage. In 700K rows, the memory has 70MB free RAM, and in 400K it has 130MB free RAM.
Can anyone help me out? Thanks.