You are here: Re: memory allocation php « All PHP « IT news, forums, messages
Re: memory allocation php

Posted by shimmyshack on 05/15/07 16:55

On May 15, 5:15 pm, "Zoe Brown" <zoenaomibr...@N-O-S-P-A-A-Mtesco.net>
wrote:
> I have a php script which is resizing some images. To get this to run I have
> has to increase the memory allocation via php.ini. This all works fine and
> there are no problems.
>
> My client is totally convinced that this is going to cause issues with
> "processing power" on the server. I have been asked to log memory usage
> before and after my code is executed to confirm that there are no memory
> leaks.
>
> I really don't want to have to do this bit of work. What are your opinions
> ? Should I or is there something you suggest I say to convince her that
> upping the memory allocation is perfectly safe ?

Be firm, say she employed you to do the job because you have the
ability to do it, and that she should trust your judgment and not
worry about the details which you have the time to research and the
ability to see through.
You have to be trusted to prioritise your work, and doing uneccessary
pieces of work will hamper you in those priorities, as you only have a
certain amount of time, something has to give somewhere.
Maybe give her an anology to help her understand, do you or anyone in
your office use 2 monitors oe does she have a bigger desk than
everyone else.
Having more real estate does mean that there is less space to move
about the room, but the job of using the computer, or storing piles of
work on the desk is made easier by larger space, provided the space is
not close to being used up, this doesnt impact on anyone else. So
provided you can show her the free memory is enough when using ALL of
the php.ini value, her point is irrelevant. You dont need to log
anything, just take a worst case scenario and show it makes sense,
which I am sure you have thought about.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация