search

Home  >  Q&A  >  body text

PHP read content memory issue

PHP reading content memory problem
A PHP file, the content is probably a json (exported from the database, to avoid frequent access to the database) array format, the content size of this file is 200K, and the memory of the server is 1G If so, then when 6 users simultaneously access the file
require_once("json.php");.........json_decode other codes
, will the memory become jammed?

高洛峰高洛峰2815 days ago701

reply all(2)I'll reply

  • 習慣沉默

    習慣沉默2017-05-31 10:35:19

    How to calculate? 6 * 200 k = 1.2 M, which is just a little bit of memory.

    reply
    0
  • 为情所困

    为情所困2017-05-31 10:35:19

    require_once() loading, if the file has already been loaded, it will not be loaded in subsequent requests.

    reply
    0
  • Cancelreply