Re: [PHP-DEV] PHP4: php_module holds memory to long !

2001-01-10 Thread Filip Sielimowicz
The answer is really not so easy. I have RedHat Linux 6.2 (with standard kernel, I suppose 2.1). I tried such program in c++: //File #include alloc.h #include stdio.h #include stdlib.h #include unistd.h int main() { void* v[1000]; for (int i=0;i1000;i++) {

Re: [PHP-DEV] PHP4: php_module holds memory too long !

2001-01-15 Thread Filip Sielimowicz
sort script, which I tested: Here is an example script: ?php echo "HTMLBODY"; echo "Time:".time()."BR"; //Memory allocation for ($i=0; $i1000; $i++) { $TAB1['a'.$i]='tekst1'.$i; $TAB1['b'.$i]='tekst2'.$i; $TAB_M[$i]=$TAB1; } //Long result

[PHP-DEV] PHP 4.0.x Persistent flag in memory management.

2001-01-23 Thread Filip Sielimowicz
o the 'PHP holds memory too long', but I changed a title to make people interested in again... Filip Sielimowicz I would be VERY grateful for any response. -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP-DEV] PHP 4.0 Bug #8889: Memory is not being freed.

2001-01-31 Thread Filip Sielimowicz
ly the php memory caches are responsible for described effect. When we use oci8 module - the effect comes back (but in smaller size), because there's independent memory management in that module (and in oracle libraries). We are working on it. I hope this discussion shall result in most effective an

Re: [PHP-DEV] [Fwd: Re: [PHP] Howto return multidimensional arraysfrom a PHP module]

2001-02-05 Thread Filip Sielimowicz
I had the same problem. This is, how I managed to do this: extern "C" int fun1(pval** array) { //this is in c++ //here you generate subarrays - alements are added to the parameter array //this generates an array of strings ... int count=; for (int i=0;icount;i++) { char*