kallaspriit/Cassandra-PHP-Client-Library

(intentional?) memory leak

alandsidel opened this issue · 1 comments

Simple loop inserting rows with a UTF8 key and 128k of binary data results in memory exhaustion. Loop is calling simply fopen, fread, fclose, and $cassandra->set().

Is there some internal caching going on somewhere that can be turned off? If not, perhaps something in the set() call stack is referencing the data in a static and thus caching it unintentionally.

I'll take a look whether I'll spot anything suspicious.