Hi Guys,

Does anyone know what the following error message is and how I can go about
solving it?

***ERROR MSG***
Out of memory during "large" request for 2147487744 bytes, total sbrk() is
1459608 bytes.

This error message gets written to Apache's error logs every other time I
execute my MSSQL query.  The web browser then displays "The page cannot be
displayed" error (404).

***SAMPLE MSSQL QUERY***
if ($ViewItemNumber){
$ViewItemNumber = urldecode($ViewItemNumber);
$sql = "SELECT
Item.ItemNumber,Item.Description,Item.Type,Item.Comments,Inventory.Site,Inve
ntory.Location,Inventory.ItemNumber,Inventory.SerialNumber,Inventory.Lot,Inv
entory.OnHandQuantity FROM Item,Inventory WHERE
(Item.ItemNumber='$ViewItemNumber' AND
Item.ItemNumber=Inventory.ItemNumber)";
$query = mssql_query($sql) or die ("THE SECOND (2) TABLE SELECTION
FAILED.");
$results = mssql_fetch_array($query);
echo $results['ItemNumber'];
}


Note: I'm running LAMP locally (NY) and connecting remotely to a Windows
2000 box running MS SQL Server 2000 (UK) with the FreeTDS package. 


O      From Now 'Till Then,
\->    Reginald Alex Mullin
/\      212-894-1690



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the postmaster at [EMAIL PROTECTED]


www.sothebys.com
**********************************************************************


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to