PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.php > Re: Memory leak occurs when exec() function is used on Windows platform
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Re: Memory leak occurs when exec() function is used on Windows platform

Réponse
 
LinkBack Outils de la discussion
Vieux 11/09/2007, 16h03   #1
melmack3@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Memory leak occurs when exec() function is used on Windows platform

On 10 Wrz, 21:19, Sanders Kaufman <bu...@kaufman.net> wrote:
> melma...@gmail.com wrote:
> > I have used sessions and forced garbage collector
> > to clean the memory with the probability 100%
> > (reconfiguring php.ini file)
> > and I called this script X times. The memory was not freed at all!

>
> > But I have discovered that it is Windows bug (see my reply to Aaron)

>
> In the Zend Platform docs, they point out that while Windows servers are
> adequate for most development, they should not be used for production.
>
> This shell problem is exactly why.
>
> This same bug is why Windows became such a target for viruses - the real
> ones, not the scripties.
>
> Those Seattle Republicans play fast-and-loose with memory management.


After long hours of fighting and testing I have fixed the problem.
It was caused by an additional firewall installed on both computers
used by me for testing process. When I uninstalled it memory leak
disappeared.

Thanks all for .
Best regards
Melmack

  Réponse avec citation
Vieux 12/09/2007, 03h15   #2
Aaron Saray
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Memory leak occurs when exec() function is used on Windows platform

On Sep 11, 10:03 am, melma...@gmail.com wrote:
> On 10 Wrz, 21:19, Sanders Kaufman <bu...@kaufman.net> wrote:
>
>
>
> > melma...@gmail.com wrote:
> > > I have used sessions and forced garbage collector
> > > to clean the memory with the probability 100%
> > > (reconfiguring php.ini file)
> > > and I called this script X times. The memory was not freed at all!

>
> > > But I have discovered that it is Windows bug (see my reply to Aaron)

>
> > In the Zend Platform docs, they point out that while Windows servers are
> > adequate for most development, they should not be used for production.

>
> > This shell problem is exactly why.

>
> > This same bug is why Windows became such a target for viruses - the real
> > ones, not the scripties.

>
> > Those Seattle Republicans play fast-and-loose with memory management.

>
> After long hours of fighting and testing I have fixed the problem.
> It was caused by an additional firewall installed on both computers
> used by me for testing process. When I uninstalled it memory leak
> disappeared.
>
> Thanks all for .
> Best regards
> Melmack


What firewalls were they? I haven't thought about that - heh - its
been such a long time since I thought about those (about 2 years when
I used to work at an ISP). I guess that makes sense... with either a
virus protection program or a firewall - they're going to scan spawned
processes... but woudln't it be the a/v or firewall process that gets
the memory spike? Any other details would be cool - I'm rather
curious now.

  Réponse avec citation
Vieux 12/09/2007, 04h07   #3
Steve
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Memory leak occurs when exec() function is used on Windows platform


"Aaron Saray" <102degrees@102degrees.com> wrote in message
news:1189563348.374623.57660@g4g2000hsf.googlegrou ps.com...
> On Sep 11, 10:03 am, melma...@gmail.com wrote:
>> On 10 Wrz, 21:19, Sanders Kaufman <bu...@kaufman.net> wrote:
>>
>>
>>
>> > melma...@gmail.com wrote:
>> > > I have used sessions and forced garbage collector
>> > > to clean the memory with the probability 100%
>> > > (reconfiguring php.ini file)
>> > > and I called this script X times. The memory was not freed at all!

>>
>> > > But I have discovered that it is Windows bug (see my reply to Aaron)

>>
>> > In the Zend Platform docs, they point out that while Windows servers
>> > are
>> > adequate for most development, they should not be used for production.

>>
>> > This shell problem is exactly why.

>>
>> > This same bug is why Windows became such a target for viruses - the
>> > real
>> > ones, not the scripties.

>>
>> > Those Seattle Republicans play fast-and-loose with memory management.

>>
>> After long hours of fighting and testing I have fixed the problem.
>> It was caused by an additional firewall installed on both computers
>> used by me for testing process. When I uninstalled it memory leak
>> disappeared.
>>
>> Thanks all for .
>> Best regards
>> Melmack

>
> What firewalls were they? I haven't thought about that - heh - its
> been such a long time since I thought about those (about 2 years when
> I used to work at an ISP). I guess that makes sense... with either a
> virus protection program or a firewall - they're going to scan spawned
> processes... but woudln't it be the a/v or firewall process that gets
> the memory spike? Any other details would be cool - I'm rather
> curious now.


that is curious!

hey, remember win NT 4? you could run the processor and memory up to 100%
just by holding down the mouse button on the desktop? ah the days. ;^)


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 00h30.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11665 seconds with 11 queries