Archive for November 2007
Changing memory setting to show photos
To display photos in my photo gallery I use Php's imagecreatefromjpeg gd function because that enables me to create thumbnails on the fly and then on clicking the thumbnail I get the enlarged version which I can set to whatever size fits the page.
I realised that all the photos that were not showing were from the 7.2 Megapixel camera (a Sony W55)and all the photos from the 4.0 and 5.0 Megapixel camera's were showing. To solve the problem I had to increase the 'memory_limit' setting found in the Resource Limits section of the php.ini file.
I still don't understand why the photos showed for a little while and then suddenly stopped especially as there had been no changes to the php.ini file
Checking whats running
This tool has a familiar interface similar to Windows Explorer and you can check processes, services, modules, IP-connections and also drivers.
Its also possible to use the tool to control your system by starting and stopping services and processes and also easy to configure startup programs.
The feature I like most is taking a snapshot of the system and saving it for later comparison especially when something is not working properly. So you can compare a snapshot when everything is working fine to a snapshot when there is a problem and that comparison may shed some light on what the problem is.
The only other tool that I know of that comes close to this is Process
Explorer which I wrote about sometime last year.