SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Oct 2006
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    php scripts and memory.

    I can not find the answer to this in any php books, so I ask here.

    Do bigger php scripts (file size) use up more memory than smaller scripts, or is the only thing that uses up memory are the variables and other data structures that the script uses ?

    Thanks.

  2. #2
    SitePoint Wizard wheeler's Avatar
    Join Date
    Mar 2006
    Location
    Gold Coast, Australia
    Posts
    1,369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I assume that this would largely depend on what you are achieving in the file, and how you handle the data that is produced. for example, retrieving 30 rows from a database is probably relatively low in memory usage. Retrieving 1,000,000 rows on the other hand...
    Studiotime - Time Management for Web Developers
    to-do's, messages, invoicing, reporting - 30 day free trial!
    Thomas Multimedia Web Development


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •